Message 1 of 1
Rename "Group of Commands" in Undo Selection Window

Not applicable
10-09-2019
11:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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.