Add custom data type to the fabrication part. The new data gets the default value defined by the fabrication configuration.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public bool AddPartCustomData( int customId )
Parameters
- customId Int32
- The identifier of the custom data field to add.
Return Value
BooleanReturns true if the type was not already present.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The custom data identifier does not exist. |