Returns the number of layers in the document.
rhinoscriptsyntax.LayerCount ()
rhinoscript.layer.LayerCount ()
None.
Number |
The number of layers in the document. |
import rhinoscriptsyntax as rs
count = rs.LayerCount()
print "There are", count, "layers."