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

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

doug.johnston
Advocate Advocate
687 Views
2 Replies
Message 1 of 3

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

doug.johnston
Advocate
Advocate

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 !!!!!
0 Likes
688 Views
2 Replies
Replies (2)
Message 2 of 3

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

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


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:
My 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 !


 


EESignature

Message 3 of 3

Curtis_Waguespack
Consultant
Consultant

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

0 Likes