Returns the number of layers in the document.
Rhino.LayerCount ()
None.
Number
The number of layers in the document.
Dim intCount
intCount = Rhino.LayerCount
Rhino.Print "There are " & CStr(intCount) & " layer."
LayerNames