Message 1 of 4
UIApplication.Idling event is not invoked when selecting special elements
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm using the UIApplication.Idling event to track selection changes. This works very well. But in very rare cases the Idling event is never raised if a (special) element is selected.
Steps to reproduce the behavior (Revit 2017):
- load sample project "rme_advanced_sample_project.rvt"
- select one of the lighting
- the Idling event is not raised as long as the element is selected
- selecting another element, i.e. a ventilation element
- the Idling event is raised
A good indicator are the menu entries in the help menu. These entries are disabled if the Idling event is not raised (i.e. if a lighting is selected). The entries are enabled if another element is selected.
What's the reason for this behavior?
Is there another way to track the current selection?
Thank you!
Regards,
Thommy