DocumentChangedEventArgs
The event arguments used by the DocumentChanged event.
Inheritance Hierarchy
System.Object
System.EventArgs
Autodesk.Revit.DB.Events.RevitAPIEventArgs
Autodesk.Revit.DB.Events.RevitAPISingleEventArgs
Autodesk.Revit.DB.Events.DocumentChangedEventArgs
Namespace: Autodesk.Revit.DB.Events
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class DocumentChangedEventArgs : RevitAPISingleEventArgs
The DocumentChangedEventArgs type exposes the following members.
Properties
Name
Description
Public Property
Cancellable
Indicates whether an event may be cancelled by an event delegate.
(Inherited from RevitAPIEventArgs)
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from RevitAPIEventArgs)
Public Property
Operation
The operation associated with this event
Methods
Name
Description
Public Method
Dispose
(Inherited from RevitAPIEventArgs)
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetAddedElementIds.
Returns set of elements newly added to the document.
Public Method
GetAddedElementIds(ElementFilter)
Returns set of newly added elements that pass the filter.
Public Method
GetDeletedElementIds
Returns set of elements that were deleted from the document.
Public Method
GetDocument
Returns document associated with this event
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetModifiedElementIds.
Returns set of elements that were modified.
Public Method
GetModifiedElementIds(ElementFilter)
Returns set of elements that were modified according to the given element filter.
Public Method
GetTransactionNames
Returns names of the transactions associated with this event
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
IsCancelled
Indicates whether the event is being cancelled.
(Inherited from RevitAPIEventArgs)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)