Message 1 of 5
use inventor command in contextual menu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
is there any possibility to use inventor commands like "AppContextual_ContinueCmd" in addin? I need to add to RadialMarkingMenu commands for continue or cancel during selection.
private void UIEvents_OnRadialMarkingMenu(Inventor.ObjectsEnumerator toEntities, Inventor.SelectionDeviceEnum toSelDevice,
Inventor.RadialMarkingMenu toRadialMenu, Inventor.NameValueMap toAddInfo)
{
if (toSelDevice == Inventor.SelectionDeviceEnum.kGraphicsWindowSelection)
{
toRadialMenu.EastControl = this.oApp.CommandManager.ControlDefinitions["AppContextual_CancelCmd"];
toRadialMenu.WestControl = this.oApp.CommandManager.ControlDefinitions["AppContextual_ContinueCmd"];
}
}The menu is correctly shown , command " AppContextual_CancelCmd" send Esc to events, but I have no idea how to catch "AppContextual_ContinueCmd". is this possible?
Thank you,
Petr
