Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
iogurt1
410 Views, 1 Reply

Determine BOM Structure of a part from within a drawing

I have a drawing of an assembly. Inside the .iam I have a configurator that turns certain parts invisible AND turns their BOM Structure to Reference so they don't show up on the BOM anymore. 

Now I am doing drawing automation. Is it possible to determine the BOM Structure of one of these parts from within my drawing so I can tell my code to only place a dimension if my part is 

BOMStructureEnum.kNormalBOMStructure

but not when it is

BOMStructureEnum.kReferenceBOMStructure

 The reason it is still placing dimensions on invisible parts is that I am using Attribute Helper to create my attributes from work points. But they are still technically there even though the part is invisible. 

Also, we don't want to work with Level Of Details, so I'm not looking for any suggestions involving suppression of parts. 

Thanks!