I'm working on an iLogic application for an assembly. I need some code to edit a particular component occurrence and then open one of that component's iLogic forms.
Basically automating the keystrokes that I'm doing manually (Select, right-click and edit, then open the iLogic formfor that part).
Do I have to scroll thru all occurrences in the browser or is there a way to call that component by name?
Solved! Go to Solution.
Wont that code just open the part file in a new window?
I want to edit the component from with in the assembly file.
(Select component , right click and select edit)
Figured it out
DimoAssyDocAsAssemblyDocument=ThisApplication.ActiveDocument DimoAssyCompDefAsComponentDefinition=oAssyDoc.ComponentDefinition DimoCompOccAsComponentOccurrence=oAssyCompDef.Occurrences.ItemByName("V-BLOCK:1") oCompOcc.Edit