<Code Lib>
2026 Class
Changes 0
C

LightGroup

Description:
This class represents a set of lights grouped together for easier management of various lighting scenarios
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Lighting.LightGroup

public class LightGroup : IDisposable

Name Return Type Description Inherited From
M AddLight(ElementId) None Add a new light instance to the group
M Dispose() None Releases all resources used by the LightGroup
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 GetLights() ICollection<ElementId> Get the set of contained light instances The set of light instances
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M RemoveLight(ElementId) None Remove the given light instance from the set of light instances in this group
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object

Name Return Type Description Inherited From
P Id ElementId The ElementId of the LightGroup
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P Name string The name of the LightGroup

Loading…