Placing iLogic components in an assembly

Placing iLogic components in an assembly

Anonymous
Not applicable
654 Views
0 Replies
Message 1 of 1

Placing iLogic components in an assembly

Anonymous
Not applicable

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.

0 Likes
655 Views
0 Replies
Replies (0)