Rename "Group of Commands" in Undo Selection Window

Rename "Group of Commands" in Undo Selection Window

Anonymous
Not applicable
395 Views
0 Replies
Message 1 of 1

Rename "Group of Commands" in Undo Selection Window

Anonymous
Not applicable

In a single command a large number of transactions are open and closed in response to user input.  To clean-up the undo window I am wrapping command entry points with the following

Autodesk.AutoCAD.Internal.Utils.SetUndoMark(true);   
    //multiple transactions occur here
Autodesk.AutoCAD.Internal.Utils.SetUndoMark(false);   

By wrapping the transactions in this way I am able to keep the transactions limited to a single entry.  It also has the benefit of allowing the user to undo all of the transactions with a single undo command.

 

I would like to be able to rename this "Group of Commands" to give my users a better idea of what they would be undoing.  Is there a way to access and rename this entry?

Most of the commands that I am grouping are launched through a UI and not from the command line, so ideally I am looking for a .NET solution and not a command line option.

0 Likes
396 Views
0 Replies
Replies (0)