Message 1 of 21
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
Please see two pictures below.
Built In Command
My Command
When I execute a built in command, the internal name of the command will be set to ActiveCommand.
But with executing my command that is created by C#, the name is not set.
I tried to get a name when OnExecute was just called.
public override void ControlEvents_OnExecute(NameValueMap options)
{
System.Diagnostics.Debug.WriteLine("ActiveCommand : " + InventorApplication.CommandManager.ActiveCommand);This caused...
ActiveCommand : AppSelectNorthwestArrowCmd
How can I set my command name to CommandManager.ActiveCommand?
Best regards,
=====
Freeradical
Hideo Yamada
Solved! Go to Solution.
