Message 1 of 5
Change component iPart
Not applicable
07-24-2008
06:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've a routine made in VB6 which inserts and constains a iPart in a assembly. Now I want to call the Change Component command which shows the dialog to change a ipart component. See attached file.
I tried this with "AssemblyEditComponentCtxCmd"
But that don't work. What's the right commandname for this?
I use INV 2009
Dim oControlDef As ControlDefinition
oINVapp.ActiveDocument.SelectSet.Select oOcc1
Set oControlDef = oINVapp.CommandManager.ControlDefinitions.Item("AssemblyEditComponentCtxCmd")
oControlDef.Execute
I tried this with "AssemblyEditComponentCtxCmd"
But that don't work. What's the right commandname for this?
I use INV 2009
Dim oControlDef As ControlDefinition
oINVapp.ActiveDocument.SelectSet.Select oOcc1
Set oControlDef = oINVapp.CommandManager.ControlDefinitions.Item("AssemblyEditComponentCtxCmd")
oControlDef.Execute