Returns the ids of all Revisions in the project ordered by sequence number.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public static IList<ElementId> GetAllRevisionIds( Document document )
Parameters
- document Document
- The document containing the Revisions.
Return Value
IList<ElementId>The ids of all the Revisions in the document ordered by sequence number.
Exceptions
Exception | Condition |
---|---|
ArgumentException | document is not a project document. |
ArgumentNullException | A non-optional argument was null |