LayerStateCount

Returns the number of layer states in the document.

Syntax

rhinoscriptsyntax.LayerStateCount()

rhinoscript.layer.LayerStateCount()

Parameters

None.

Returns

Number

The number of layer states in the document.

Example

import rhinoscriptsyntax as rs

print "There are", rs.LayerStateCount(), "layer states."

Also See

IsLayerState

LayerStateNames