IsLayerChangeable

Verifies that the objects on a layer can be changed (normal).

Syntax

rhinoscriptsyntax.IsLayerChangeable (layer)

rhinoscript.layer.IsLayerChangeable (layer)

Parameters

layer

Required.  String or Guid.  The name or id of an existing layer.

Returns

True

If successful.

False

If not successful.

Example

import rhinoscriptsyntax as rs

layer = rs.GetString("Layer name")

if rs.IsLayer(layer):

    if rs.IsLayerChangeable(layer): print "The layer is changeable."

    else: print "The layer is not changeable."

else:

    print "The layer does not exist."

Also See

IsLayer

IsLayerEmpty

IsLayerLocked

IsLayerOn

IsLayerReference

IsLayerSelectable

IsLayerVisible