RevisionGetAllRevisionIds Method

Returns the ids of all Revisions in the project ordered by sequence number.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static IList<ElementId> GetAllRevisionIds(
	Document document
)

Parameters

document  Document
The document containing the Revisions.

Return Value

IListElementId
The ids of all the Revisions in the document ordered by sequence number.
Exceptions
ExceptionCondition
ArgumentException document is not a project document.
ArgumentNullException A non-optional argument was null
See Also