Message 1 of 2
Disabling and re-enabling AutoCAD commands?

Not applicable
09-13-2002
01:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Within a single session of AutoCAD is there a way to at any point (other
than when autocad is loading) to disable commands, and then a way to enable
commands?
Some commands by the user could corrupt my dictionaries if done at
particular times. I'd like to turn off "u" (undo shortcut for single undo),
while my app is running, and only allow the full "undo Back" (to mark). IE.
if one of my custom entities is undone, i want the appropriate dictionary
entries and sub entities deleted as well.
even better can I totally disable undo while my app is loaded, but still
allow my app to call an "undo mark" and "undo back"? IE. they would hit an
Undo button on my form, instead of from autocad prompt or toolbar. My app
needs some housecleaning when an undo is called.
Mike
than when autocad is loading) to disable commands, and then a way to enable
commands?
Some commands by the user could corrupt my dictionaries if done at
particular times. I'd like to turn off "u" (undo shortcut for single undo),
while my app is running, and only allow the full "undo Back" (to mark). IE.
if one of my custom entities is undone, i want the appropriate dictionary
entries and sub entities deleted as well.
even better can I totally disable undo while my app is loaded, but still
allow my app to call an "undo mark" and "undo back"? IE. they would hit an
Undo button on my form, instead of from autocad prompt or toolbar. My app
needs some housecleaning when an undo is called.
Mike