Share

ViewSheet.GetRevisionNumberOnSheet 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.3.0.0 (25.3.0.0)

Syntax

C#

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 null if the Revision does not appear on this sheet.

Exceptions

ExceptionCondition
ArgumentException revisionId is not a valid Revision.
ArgumentNullException A non-optional argument was null

Remarks

Returns null if the Revision does not appear on this sheet.

See Also

Reference

Was this information helpful?