Revit 2026 API
Light |
Remove the given light instance from the set of light instances in this group
Namespace: Autodesk.Revit.DB.Lighting
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void RemoveLight( ElementId lightId )
Public Sub RemoveLight ( lightId As ElementId )
public: void RemoveLight( ElementId^ lightId )
member RemoveLight : lightId : ElementId -> unit
Parameters
- lightId ElementId
- The light instance to remove
| Exception | Condition |
|---|---|
| ArgumentException | The light instance is not in this LightGroup |
| ArgumentNullException | A non-optional argument was null |
See Also