RevisionNumber Property


The Revision number of this revision.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2015

Syntax

C#
public string RevisionNumber { get; }
Visual Basic
Public ReadOnly Property RevisionNumber As String
	Get
Visual C++
public:
property String^ RevisionNumber {
	String^ get ();
}

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

ExceptionCondition
Autodesk.Revit.ExceptionsInvalidOperationException This operation is not valid for when the revision numbering is per sheet.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →