Subscribe to the DocumentChanged event to be notified when Revit document has changed.
Namespace: Autodesk.Revit.ApplicationServicesAssembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public event EventHandler<DocumentChangedEventArgs> DocumentChanged
Value
EventHandler<DocumentChangedEventArgs>
Remarks
This event is raised whenever a Revit transaction is either committed, undone or redone.
This is a readonly event, designed to allow you to keep external data in synch with the state of the
Revit database.
To update the Revit database in response to changes in elements, use the IUpdater framework.
See Also
Reference