Get custom data text for the specified custom data.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public string GetPartCustomDataText( int customId )
Parameters
- customId Int32
- The identifier of the custom data field to get.
Return Value
StringReturns 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 |
---|---|
ArgumentException | The custom data does not exist on the part. |