This invention discloses an automatic tool space detection method and apparatus developed using NX
secondary development. The automatic tool space detection method includes: inputting a BOP (Browser
Object Structure) structure tree and extracting BOP structure information as input; automatically filtering tool and component objects and excluding irrelevant information, and recreating the BOP based on the filtering results; loading data; calculating the distance between components and completed assemblies; loading standard parts as
assembly objects, reading entity and / or sheet data within the
assembly, and determining the model of the standard parts; loading assemblies and
peripheral parts for the process according to the model; and outputting the detection results. The beneficial effects of this invention are: utilizing automated
software to achieve rapid initial tool space inspection, and allowing manual confirmation of NG (Not From Good) items under
software guidance, greatly reducing missed inspections and repetitive operations. In practical applications, this can achieve an efficiency improvement of over 80%, while also providing a high degree of
automation, reducing the CAD skill requirements for users.