Revit 2026 API
Direct |
Sets the color of the handle and the associated DirectContext3D graphics.
Namespace: Autodesk.Revit.DB.DirectContext3D
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void SetColor( Color color )
Public Sub SetColor ( color As Color )
public: void SetColor( Color^ color )
member SetColor : color : Color -> unit
Parameters
- color Color
- The color to apply.

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
See Also