Revit 2025.3 API
Fabrication |
Get custom data text for the specified custom data.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public string GetPartCustomDataText( int customId )
Public Function GetPartCustomDataText ( customId As Integer ) As String
public: String^ GetPartCustomDataText( int customId )
member GetPartCustomDataText : customId : int -> string
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.

Exception | Condition |
---|---|
ArgumentException | The custom data does not exist on the part. |
See Also