RVTDocs.com

LightGroupManager.IsLightOn

Method
Description:
Returns true if the given light is on for rendering the given view
Syntax
public bool IsLightOn(
	ElementId viewId,
	ElementId lightId
)
Parameters
Parameter Type Description
viewId ElementId The Id of the view
lightId ElementId The Id of the light
Return Value
Exceptions
Exception Condition
ArgumentException The given element Id does not correspond to a 3d view -or- The given element Id does not correspond to a light instance
ArgumentNullException A non-optional argument was null