SetPartCustomDataReal Method


Fabrication Part Set Part Custom Data Real Method

Set the custom data real value for the specified custom data.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetPartCustomDataReal(
	int customId,
	double value
)

Parameters

customId Int32
The identifier of the custom data field to set.
value Double
The real value of the custom data. If the data is not a real type the value will be parsed according to the fabrication confifuration rules.
Exceptions
Exception Condition
ArgumentException The custom data does not exist on the part.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →