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: 

Placing iLogic components in an assembly

0 REPLIES 0
Reply
Message 1 of 1
Mcadae
599 Views, 0 Replies

Placing iLogic components in an assembly

I found some code that creates a button to place an iLogic component but you have to pick which component.

 

Dim controlDef as ControlDefinition = _ThisApplication.CommandManager.ControlDefinitions.Item("iLogic.PlaceComponent")controlDef.Execute

 

is there a way to have this code automatically select a specific file and not open the dialog box?

 

Also the Place iLogic component command automatically copies the part into the open assembly directory and attaches a number on the end.  Is there a way when I click the done or finish placing the iLogic component that it would do a 'Save Copy and replace' the placed iLogic component saving the part to a name using the generated part number? 

 

I've attached the part and external rules in case you want to take a look at what I have done so far.

Erik J. Kurek
MCADAE, ICE, MICE
Manufacturing SME
Inventor 2013

Dell Precision WorkStation T3500
Bus Clock: 4800 megahertz
2.40 gigahertz Intel Xeon
8192 Megabytes Installed Memory
Windows 7 Professional (x64) Service Pack 1
NVIDIA Quadro FX 3700
0 REPLIES 0

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

Post to forums  

Autodesk Design & Make Report