GetRevisionNumberOnSheet Method


View Sheet Get Revision Number On Sheet Method

Gets the Revision Number for a particular Revision as it will appear on this sheet.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public string GetRevisionNumberOnSheet(
	ElementId revisionId
)

Parameters

revisionId ElementId
The id of the Revision.

Return Value

String
Returns the Revision Number as it will appear on this sheet or if the Revision does not appear on this sheet.
Exceptions
Exception Condition
ArgumentException revisionId is not a valid Revision.
ArgumentNullException A non-optional argument was null
Remarks
Returns if the Revision does not appear on this 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 →