Message 1 of 6
Not applicable
09-13-2011
02:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is it possible to change CommandMethodAttribute.GlobalName programmatically?
I want to have the ability to change the shortcut just like I can change the polyline command from "pl" to just "p".
That will be very useful option that gives the user the ability to customise the interface himself.
I know how to create menu, toolbar, menumacro and a toolbarButton. I know how to createa a method with [CommandMethodAttribute("xyz")]. Now I want to change "xyz" to "abc".
I have already tried tons of code on the net, samples from the ObjectARX but did not find any that is useful.
I see that such a feature is built-in AutoCAD and I suppose that it is possible.
Solved! Go to Solution.