RVTDocs.com

FabricationPart.AddPartCustomData

Method
Description:
Add custom data type to the fabrication part. The new data gets the default value defined by the fabrication configuration.
Remarks:
The custom id must be positive.
Syntax
public bool AddPartCustomData(
	int customId
)
Parameters
Parameter Type Description
customId Int32 The identifier of the custom data field to add.
Return Value
Type Description
Boolean Returns true if the type was not already present.
Exceptions
Exception Condition
ArgumentException The custom data identifier does not exist.