User Inteface Events
The following table lists user interface events, their type and whether they are available at the application and/or document level:
Table 54: UI Event Types
Event
|
Type
|
UIApplication
|
ControlledApplication
|
UIDocument
|
ApplicationClosing
|
pre
|
X
|
|
|
ApplicationInitialized
|
single |
|
X |
|
DialogBoxShowing
|
single
|
X
|
|
|
DisplayingOptionsDialog
|
single |
X |
|
|
Idling
|
single
|
X
|
|
|
ViewActivating
|
pre
|
X
|
|
|
ViewActivated
|
post
|
X
|
|
|
- ApplicationClosing - notification when the Revit application is about to be closed
- ApplicationInitialized - notification after the Revit application has been initialized, after all external applications have been started and the application is ready to work with documents
- DialogBoxShowing - notification when Revit is showing a dialog or message box
- DisplayingOptionsDialog - notification when Revit options dialog is displaying
- Idling - notification when Revit is not in an active tool or transaction
- ViewActivating - notification when Revit is about to activate a view of the document
- ViewActivated - notification just after Revit has activated a view of the document