GetRevisionCloudNumberOnSheet Method


Gets the Revision Number for a RevisionCloud on this sheet.

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

Syntax

C#
public string GetRevisionCloudNumberOnSheet(
	ElementId revisionCloudId
)
Visual Basic
Public Function GetRevisionCloudNumberOnSheet ( _
	revisionCloudId As ElementId _
) As String
Visual C++
public:
String^ GetRevisionCloudNumberOnSheet(
	ElementId^ revisionCloudId
)

Parameters

revisionCloudId
Type: Autodesk.Revit.DB ElementId
The id of the RevisionCLoud.

Return Value

Returns the Revision Number as it will appear on this sheet or a null reference ( Nothing in Visual Basic) if there is no Revision Number assigned on this sheet.

Remarks

Returns a null reference ( Nothing in Visual Basic) if the RevisionCloud or its associated Revision do not appear on this sheet. The Revision Number for a RevisionCloud will always be the same as the Revision Number of the associated Revision.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException revisionCloudId is not the Id of a RevisionCloud.
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was null

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 →