Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

2 REPLIES 2
Reply
Message 1 of 3
doug.johnston
126 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 !!!!!
2 REPLIES 2
Message 2 of 3

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

Regards,

Arthur Knoors

Autodesk Affiliations:

Autodesk Software:Inventor Professional 2024 | Vault Professional 2022 | Autocad Mechanical 2022
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 !

Message 3 of 3

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report