Set vissibility of components (rows) in drawing parts list (BOM)

Set vissibility of components (rows) in drawing parts list (BOM)

Koekepeerke
Advocate Advocate
289 Views
2 Replies
Message 1 of 3

Set vissibility of components (rows) in drawing parts list (BOM)

Koekepeerke
Advocate
Advocate

Hello everyone,

 

Does anybody know if it's possible to change the vissibility of the components/rows that are shown in the parts list on a drawing. I can't seem to find any documentation and samples in the API help or similar threads on the forums.

 

For example i would like to show only components in the parts list that contain a certain piece of string in the occurrence name. I imagine a simple for each loop could get the job done but i'm not sure if the needed objects/properties exist to realize this. 

 

Any help or pointers would be appreciated! If you are sure this is not possible through iLogic i would also like to know because then this would just stay manual task in making the drawing.

 

Regards,

Jeremy

0 Likes
Accepted solutions (1)
290 Views
2 Replies
Replies (2)
Message 2 of 3

Michael.Navara
Advisor
Advisor
Accepted solution

You can switch visibility of PartsList row using its PartsListRow.Visible property.

Message 3 of 3

Koekepeerke
Advocate
Advocate

@Michael.Navara oh wow, quess i just hadn't looked well enough, apoligies 😅 

Thanks a lot for your reply Michael!

0 Likes