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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →