Revit 2025 API
Fabrication |
Gets the custom data name from its identifier.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public string GetPartCustomDataName( int customDataId )
Public Function GetPartCustomDataName ( customDataId As Integer ) As String
public: String^ GetPartCustomDataName( int customDataId )
member GetPartCustomDataName : customDataId : int -> string
Parameters
- customDataId Int32
- The custom data identifier.
Return Value
StringThe custom data name.

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