Cuts the parenting of a layer to its Layer Group.
This command will break the parenting link between the layer and its layer Group owner. The Layer will be
moved back to the Layer Container.
CutLayerParent( [InputObjs] ); |
Parameter | Type | Description |
---|---|---|
InputObjs | String |
the object to reparent to the Layer Container. Default Value: First Selected objects |
'Create a new layer called MyLayerExample 'The current layer is now MyLayerExample CreateLayer , "MyLayerExample" 'The command creates a Layer Group CreateLayerGroup , "Layers.MyLayerExample" CutLayerParent "Layers.MyLayerExample" |