Revit 2025.3 API
Export |
The color name stored in value.
For IFC export, the naming is to match the "colornumber" setting -- really, this stores a string
that generates the colorNumber (for formats that don't use the color but need a second entry.)
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public string ColorName { get; set; }
Public Property ColorName As String Get Set
public: property String^ ColorName { String^ get (); void set (String^ value); }
member ColorName : string with get, set
Property Value
String
Exception | Condition |
---|---|
ArgumentNullException | When setting this property: A non-optional argument was null |
See Also