Revit 2025.3 API
Fabrication |
Remove custom data from the fabrication part.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public bool RemovePartCustomData( int customId )
Public Function RemovePartCustomData ( customId As Integer ) As Boolean
public: bool RemovePartCustomData( int customId )
member RemovePartCustomData : customId : int -> bool
Parameters
- customId Int32
- The identifier of the custom data field to remove.
Return Value
BooleanReturns true if the type was found and removed. The type will not be removed if it is not an optional type.
| Exception | Condition |
|---|---|
| ArgumentException | The custom data does not exist on the part. |
See Also