Get custom data text for the specified custom data.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2017 Subscription Update
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- customId
- Type: SystemInt32
The identifier of the custom data field to get.
Return Value
Returns the text of the custom data. If the data is a number it will be formatted according to the fabrication configuration's rules.Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.ExceptionsArgumentException | The custom data does not exist on the part. |