Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
andrew.tom.reynolds
1880 Views, 4 Replies

iLogic - setting iProperty value to Parts Only BOM Quantity

There are quite a few posts similar to this topic, but I can't seem to adapt these to my specific problem so i'm hoping for some help.

 

I have an assembly which is configured using iLogic from parameters and options in a spreadsheet. The configuration is done by suppressing and un-suppressing various parts and changing parameters. This is all working well.

 

Once all is said and done, I want to get the Parts Only BOM QTY value for each "active" part in the model and write that value to one of the in-built iProperties ("summary", "comments" or the like). For all "non-active" parts (either suppressed or phantom structure etc), i want to set the same iProperty value to 0. That way, I can use that property later on the drawing view to indicate whether that part is needed or not. There is a downstream reason for this in the CAM software, however crazy it sounds.

 

Please note I only need to do this for parts (can ignore all sub-assemblies) and the Parts Only BOM view is accurate for each configuration.

 

Any chance someone can help with a method of firstly setting an iProperty value all parts (active and in-active) to 0 and then for active items, getting the BOM Parts Only QTY and setting it to that value? I have the method for cycling through only active parts where i'm setting other iProperty values and that's working well. I just don't know how to combine the BOM functions and this into a workable solution.

 

Cheers,

 

Andrew.