PresetInitialColor
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
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)
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)