Returns the identifier of light objects in the document.
rhinoscriptsyntax.LightObjects ()
rhinoscript.light.LightObjects ()
None.
List |
The identifiers of all lights in the document |
import rhinoscriptsyntax as rs
lights = rs.LightObjects()
if lights:
rs.AddLayer( "Lights" )
for light in lights: rs.ObjectLayer( light, "Lights" )