Revit 2026 API
View |
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: 26.0.4.0 (26.0.4.0)
Syntax
public string GetRevisionNumberOnSheet( ElementId revisionId )
Public Function GetRevisionNumberOnSheet ( revisionId As ElementId ) As String
public: String^ GetRevisionNumberOnSheet( ElementId^ revisionId )
member GetRevisionNumberOnSheet : revisionId : ElementId -> string
Parameters
- revisionId ElementId
- The id of the Revision.
Return Value
StringReturns the Revision Number as it will appear on this sheet or if the Revision does not appear on this sheet.
| Exception | Condition |
|---|---|
| ArgumentException | revisionId is not a valid Revision. |
| ArgumentNullException | A non-optional argument was null |
Returns if the Revision does not appear on this sheet.
See Also