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: 24.0.0.0 (24.0.0.0)
Since: 2015
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- revisionId
- Type: Autodesk.Revit.DBElementId
The id of the Revision.
Return Value
Returns the Revision Number as it will appear on this sheet or a null reference (Nothing in Visual Basic) if the Revision does not appear on this sheet.Remarks
Returns a null reference (Nothing in Visual Basic) if the Revision does not appear on this sheet.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsArgumentException | revisionId is not a valid Revision. |
| Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |