Revit 2026 API
Custom |
Creates a custom initial color set to the given color
Namespace: Autodesk.Revit.DB.Lighting
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public CustomInitialColor( double temperature )
Public Sub New ( temperature As Double )
public: CustomInitialColor( double temperature )
new : temperature : float -> CustomInitialColor
Parameters
- temperature Double
- The color temperature in Kelvin as a numerical value between 1800 and 20000

Exception | Condition |
---|---|
ArgumentOutOfRangeException | The color temperature is not valid because it is not in the range of 1800 to 20000. |
See Also