LightCount

Returns the number of light objects in the document.

Syntax

rhinoscriptsyntax.LightCount()

rhinoscript.light.LightCount()

Parameters

None.

Returns

Number

The number of lights in the document.

Example

import rhinoscriptsyntax as rs

print "There are", rs.LightCount(), " lights."

Also See

EnableLight

IsLight

IsLightEnabled

LightColor

LightName

LightObjects