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 trigger BOM in assembly

1 REPLY 1
SOLVED
Reply
Message 1 of 2
berry.lejeune
191 Views, 1 Reply

iLogic to trigger BOM in assembly

Hello all,

 

In the process of facilitating and making sure I don't forget anything when making my models I need a code to trigger  "BOM" in an assembly.

When I hit the iTrigger button in my assembly, I'm already getting two forms to make the assembly but I have no idea how to let the "BOM" come out so I don't forget to select the correct materials and enter the descriptions

 

Thanks

1 REPLY 1
Message 2 of 2
WCrihfield
in reply to: berry.lejeune

Hi @berry.lejeune.  One fairly simple thing you could do is have a line of code in a rule that executes the command to show the assembly BOM dialog, like this:

ThisApplication.CommandManager.ControlDefinitions.Item("AssemblyBillOfMaterialsCmd").Execute

If this solved your problem, or answered your question, please click ACCEPT SOLUTION .
Or, if this helped you, please click (LIKE or KUDOS) 👍.

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

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

Post to forums  

Autodesk Design & Make Report