RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Revision

Revision.GetAllRevisionIds

Method
Description:
Returns the ids of all Revisions in the project ordered by sequence number.
Syntax
public static IList<ElementId> GetAllRevisionIds(
	Document document
)
Parameters
Parameter Type Description
document Document The document containing the Revisions.
Return Value
Type Description
IList 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