UpdaterData Class

Service class that is passed to an Updater to prove access to update execution context
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBUpdaterData

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class UpdaterData : IDisposable

The UpdaterData type exposes the following members.

Properties
 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the UpdaterData
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetAddedElementIds Returns set of elements newly added to the document. This set is mutually exclusive of elements returned by getDeletedElementIds() and getModifiedElementIds().
Public methodGetDeletedElementIds Returns set of elements that were deleted from the document. This set is mutually exclusive of elements returned by getAddedElementIds() and getModifiedElementIds().
Public methodGetDocument Returns document associated with this UpdaterData
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetModifiedElementIds Returns set of elements that were modified. This set is mutually exclusive of elements returned by getAddedElementIds() and getDeletedElementIds().
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsChangeTriggered Allows updater to check if specific change has happened to an element. Compares input type to the types that caused Updater::execute() to be triggered. If input type was not registered as a trigger for the associated Updater, this method will always return false for that ChangeType. For example, if the only trigger registered for UpdaterX is ChangeTypeAny for Element A, then passing in ChangeTypeGeometry will return false even if the geometry of A changed because the registered trigger was ChangeTypeAny. However, passing in ChangeTypeAny will return true.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also