Returns the identifiers of all layers in the document. Layer identifiers can be used with all layer-related methods.
rhinoscriptsyntax.LayerIds()
rhinoscript.layer.LayerIds()
None.
List |
A list of layer identifiers if successful. |
import rhinoscriptsyntax as rs
layers = rs.LayerIds()
for layer in layers: print layer