Revit 2019.1 API |
Revision..::..RevisionNumber Property |
Revision Class See Also |
The Revision number of this revision.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.1.0.0)
Since:
2015
Syntax
Remarks
Note that this field is only available if the RevisionSettings are set to number revisions PerProject.
When Revisions are numbered PerSheet, a given Revision may display a different RevisionNumber on each sheet.
In this case, the revision number can be obtained by calling [!:Autodesk::Revit::DB::ViewSheet::GetRevisionNumberOnSheet()].
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..InvalidOperationException | This operation is not valid for when the revision numbering is per sheet. |