PresetInitialColor Class


Preset Initial Color Class

This class encapsulates a preset initial lighting color.
Inheritance Hierarchy
System Object
Autodesk.Revit.DB.Lighting InitialColor
Autodesk.Revit.DB.Lighting PresetInitialColor

Namespace: Autodesk.Revit.DB.Lighting
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class PresetInitialColor : InitialColor

The PresetInitialColor type exposes the following members.

Constructors
Name Description
Public method PresetInitialColor(ColorPreset) Creates an initial color preset object with the given preset value.
Public method PresetInitialColor(PresetInitialColor) Creates a copy of the given preset initial color
Top
Properties
Name Description
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from InitialColor )
Public property Preset The preset value
Public property TemperatureValue The light color temperature value in Kelvins.
(Inherited from InitialColor )
Top
Methods
Name Description
Public method Clone Creates a copy of the InitialColor derived object.
(Inherited from InitialColor )
Public method Dispose
(Inherited from InitialColor )
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object )
Public method GetHashCode Serves as the default hash function.
(Inherited from Object )
Public method GetType Gets the Type of the current instance.
(Inherited from Object )
Public method ToString Returns a string that represents the current object.
(Inherited from Object )
Top
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →