Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
A.Acheson
in reply to: cadman777

Here is some examples. It will depend at what level you are looking for the part assembly 

 

https://forums.autodesk.com/t5/inventor-ilogic-api-vba-forum/ilogic-bom-qty-need-help-with-code/td-p...

 

if using iproperties snippet the most important thing to remember is the document name reference before the location of the iproperty. This will target where you are retrieving the iproperty from. “CompFileNameOnly” If not included the iproperty will be taken from the document the rule was run from. 

iProperties.Value(CompFileNameOnly, "Custom", "SO")

 

If you include a screenshot or description of where you want to run the rule and what info you want to capture I am sure a sample can be either found or created. As the recursive rules can be complex. 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan