In this category, we find workbenches to create 3D models, assemble parts, extract 2D drawings, tolerance parts and design sheetmetal parts, molds, welded parts and structural assemblies.
Visual Basic Script
The main class to manage all Catia files is Document, where for each file type, there is a sub-class. For example, PartDocument class is used for a CATPart and ProductDocument for a CATProduct.
When ActiveDocument property is used the correct sub-class is identified automatically.
Dim catDOC as Document Set catDOC = CATIA.ActiveDocument