
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I found this code on the forum that is good to call the command :
The command name to use is : "AssemblyBonusTools_SaveAndReplaceComponentCmd"
put this in a iLogic rule:
' Get the CommandManager object.
Dim oCommandMgr As CommandManager
oCommandMgr = ThisApplication.CommandManager
' Get control definition for the line command.
Dim oControlDef As ControlDefinition
oControlDef = oCommandMgr.ControlDefinitions.Item( _
"AssemblyBonusTools_SaveAndReplaceComponentCmd")
' Execute the command.
oControlDef.Execute
But what i'm trying to do (with out success yet) is to create an Ilogic that will call the save and replace cmd for all components (parts, assembly and sub assembly) that the Iprop, part number is empty.
If someone can help me for that i will apreciate!
Solved! Go to Solution.