DocumentDifference represents the difference (including added elements, modified elements and deleted elements) of a Revit model between different DocumentVersion of the model.
Inheritance Hierarchy
System.ObjectAutodesk.Revit.DB.DocumentDifference
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public class DocumentDifference : IDisposable
The DocumentDifference type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | AreDeletedElementIdsAvailable | Whether or the deleted elements were retrieved. |
![]() | IsValidObject | Specifies whether the .NET object represents a valid Revit entity. |
Methods
Name | Description | |
---|---|---|
![]() | Dispose | Releases all resources used by the DocumentDifference |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | GetCreatedElementIds | Created element id collection. |
![]() | GetDeletedElementIds | Deleted element id collection. For non-worksharing models, this will always be an empty collection. |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetModifiedElementIds | Modified element id collection. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object) |