LightFamily Class

This class encapsulates light family information.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DB.LightingLightFamily

Namespace: Autodesk.Revit.DB.Lighting
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public class LightFamily : IDisposable

The LightFamily type exposes the following members.

Properties
 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the LightFamily
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetLightDistributionStyle Returns a LightDistributionStyle value for the light distribution
Public methodStatic memberGetLightFamily Creates a light family object from the given family document
Public methodGetLightShapeStyle Returns a LightShapeStyle value for the light shape
Public methodGetLightSourceTransform Returns a Transform value for the transform of light source.
Public methodGetLightType Return a LightType object for the light type at the given index
Public methodGetLightTypeName Return the name for the light type at the given index
Public methodGetNumberOfLightTypes Return the number of light types contained in this light family
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetLightDistributionStyle Set the light distribution style to the given shape distribution
Public methodSetLightShapeStyle Set the light shape style to the given shape style
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also