RVTDocs.com

LightGroup.AddLight

Method
Description:
Add a new light instance to the group
Syntax
public void AddLight(
	ElementId lightId
)
Parameters
Parameter Type Description
lightId ElementId The ID of the light instance to add to the group
Return Value
Exceptions
Exception Condition
ArgumentException The given element ID does not correspond to a light instance -or- The light instance is in this LightGroup
ArgumentNullException A non-optional argument was null