Revit clears undo entries when undo is done through Revit API method.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
The undo operation removes all Revit undo entries when the undo is done for user created update entry after the wall profile is edited.
Attached sample application and video demo to recreate the issue.
The sample application updates “Mark” parameter when a wall is added or modified. This will be shown as “My_Update” in Undo Stack.
Undo of “My_Update” entry, the application will undo the previous entry through Revit API using the below method.
UIFrameworkServices.QuickAccessToolBarService.performMultipleUndoRedoOperations()
Revit works fine for Undo of “My_Update” entry when a wall is modified, but it removes all undo entries for undo of “My_Update” after the Edit wall profile command.
Kindly check the sample application.