<Code Lib>
2026 Class
Changes 0
C

LightFamily

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

public class LightFamily : IDisposable

Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the LightFamily
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 GetLightDistributionStyle() LightDistributionStyle Returns a LightDistributionStyle value for the light distribution
M GetLightFamily(Document) LightFamily Creates a light family object from the given family document
M GetLightShapeStyle() LightShapeStyle Returns a LightShapeStyle value for the light shape
M GetLightSourceTransform() Transform Returns a Transform value for the transform of light source.
M GetLightType(Int32) LightType Return a LightType object for the light type at the given index
M GetLightTypeName(Int32) String Return the name for the light type at the given index
M GetNumberOfLightTypes() Int32 Return the number of light types contained in this light family
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M SetLightDistributionStyle(LightDistributionStyle) None Set the light distribution style to the given shape distribution
M SetLightShapeStyle(LightShapeStyle) None Set the light shape style to the given shape style
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object

Name Return Type Description Inherited From
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.

Loading…