Revit 2026 API
Fabrication |
Get custom data real value for the specified custom data.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public double GetPartCustomDataReal( int customId )
Public Function GetPartCustomDataReal ( customId As Integer ) As Double
public: double GetPartCustomDataReal( int customId )
member GetPartCustomDataReal : customId : int -> float
Parameters
- customId Int32
- The identifier of the custom data field to get.
Return Value
DoubleReturns the real number of the custom data. If the data is not a number it will return 0.0.
| Exception | Condition |
|---|---|
| ArgumentException | The custom data does not exist on the part. |
See Also