FabricationPartAddPartCustomData Method |
Add custom data type to the fabrication part. The new data gets the default value defined by the fabrication configuration.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic bool AddPartCustomData(
int customId
)
Public Function AddPartCustomData (
customId As Integer
) As Boolean
public:
bool AddPartCustomData(
int customId
)
member AddPartCustomData :
customId : int -> bool
Parameters
- customId Int32
-
The identifier of the custom data field to add.
Return Value
Boolean
Returns true if the type was not already present.
Exceptions
Remarks
The custom id must be positive.
See Also