Message 1 of 7
Specific undo makes Idling event not fire anymore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Repro steps:
- Start Revit
- Open new document
- Place a wall
- Double-click the wall to enter edit mode
- Ctrl+Z will exit the wall edit mode
Now, as long as that document is the active document, the UIControlledApplication.Idling event does not fire anymore. Changing the active document makes the Idling event fire again, but it's broken again when switching back to the broken document. Closing the document or restarting Revit fixes the problem.
I could reproduce this in Revit 2024-2026. I could not reproduce in Revit 2023 because step 5 does not exit the wall edit mode.
Exiting the wall edit mode in a non-undo way works just fine.
I haven't checked whether ExternalEvent is correctly raised, but you might want to do that.