Revit 2025 API
Fabrication |
Set the custom data integer 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 SetPartCustomDataInteger( int customId, int value )
Public Sub SetPartCustomDataInteger ( customId As Integer, value As Integer )
public: void SetPartCustomDataInteger( int customId, int value )
member SetPartCustomDataInteger : customId : int * value : int -> unit
Parameters

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