LayerIds

Returns the identifiers of all layers in the document. Layer identifiers can be used with all layer-related methods.

Syntax

rhinoscriptsyntax.LayerIds()

rhinoscript.layer.LayerIds()

Parameters

None.

Returns

List

A list of layer identifiers if successful.

Example

import rhinoscriptsyntax as rs

layers = rs.LayerIds()

for layer in layers: print layer

Also See

LayerCount

LayerNames