Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
doug.johnston
158 Views, 2 Replies

ilogic to open BOM (Bill of Materials) in inventor ??

Good morning everyone,

 

I am looking for some code to automatically open the BOM inside an Assembly ??

 

We have an ilogic code that runs to calculate totals quantities based on materials / cut size / cut length.  After we run that code we open the BOM manually to review that the rule has done everything correctly.

 

I would like to automate the opening of the BOM.

 

Any assistance is appreciated.

 

Thanks,

Doug J


---------------------------------------------------
It's not easy maintaining this level of insanity !!!!!

Dim c As ControlDefinition = ThisApplication.CommandManager.ControlDefinitions.Item("AssemblyBillOfMaterialsCmd")
c.Execute

Regards,

Arthur Knoors

Autodesk Affiliations:

Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!


! For administrative reasons, please mark a "Solution as solved" when the issue is solved !

Hi @doug.johnston , 

See this past post on this topic that has some info about opening to a specific tab and editing the BOM, etc.

 

https://forums.autodesk.com/t5/inventor-programming-ilogic/open-bom-on-the-right-tab/m-p/9317332#M10...

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com