<Code Lib>
2026 Class
Changes 0
C

LightType

Description:
This class encapsulates light information.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Lighting.LightType

public class LightType : IDisposable

Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the LightType
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetInitialColor() InitialColor Return a copy of an object derived from InitialColor
M GetInitialIntensity() InitialIntensity Return a copy of an object derived from InitialIntensity
M GetLightDistribution() LightDistribution Return a copy of an object derived from LightDistribution
M GetLightShape() LightShape Return a copy of an object derived from LightShape
M GetLightType(Document, ElementId) LightType Creates a light type object from the given document and family type ID
M GetLightTypeFromInstance(Document, ElementId) LightType Creates a light type object from the given document and element ID
M GetLossFactor() LossFactor Return a copy of an object derived from LossFactor
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M SetInitialColor(InitialColor) None Replace the current initial color object with the given object
M SetInitialIntensity(InitialIntensity) None Replace the current initial intensity object with the given object
M SetLightDistribution(LightDistribution) None Replace the current LightDistribution object with the given object
M SetLightShape(LightShape) None Replace the current LightShape object with the given object
M SetLossFactor(LossFactor) None Replace the current loss factor object with the given object
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object

Name Return Type Description Inherited From
P ColorFilter Color The light filter color.
P DimmingColor LightDimmingColor The dimming temperature value in Kelvins.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.

Loading…