Hello,
Within PDM Pro (EPDM) it is possible to view an assembly BOM as a full tree or 'parts only'. Is there a way when using the API to view a file's BOM as 'parts only'? Or is the only option to traverse the tree and work this out programatically?
Thanks
Use swBomType enumeration - 2016 SOLIDWORKS API Help - swBomType_e Enumeration
And Insert Bom
Set swBomAnnotation = swExtension.InsertBomTable3(TemplateName, 0, 1, BomType, ActiveConfigName, False, swNumberingType_Detailed, True)