Interfaces > Core Interfaces > LayerManager |
This Core Interface exposes the Layer Manager to MAXScript.
Get the number of layers in the scene
Returns a LayerProperties MixinInterface to the current layer.
Returns a LayerProperties MixinInterface to the indexed layer.
Creates a new Layer and returns a LayerProperties MixinInterface to it.
Returns a LayerProperties MixinInterface to the layer with the given name.
Creates a new layer with the given name and returns a LayerProperties MixinInterface to it.
Enters editing mode for the layer with the given name.
Deletes the layer with the given name.
Returns True if layer deleted, false otherwise.
A layer can only be deleted if no nodes are in the layer and the layer is not the currently active layer.
Closes the Layer Manager dialog.
Returns true if the Layer Manager dialog is open, false otherwise.
<void>LayerManager.layerPropDialog <&maxObject array>layerList layerList is In and Out parameter
NEW in 3ds Max 2015: Opens the Layer Property Dialogs of the LayerProperties MixinInterfaces passed in a by-reference array.
Returns the specified layer as a ReferenceTarget.
layer_index is 0-based, layer_name is case-insensitive.
Available in 3ds Max 2008 and higher. Previously available in the Avguard Extensions.
Use the LayerProperties interface's .layerAsRefTarg property instead.
Provided for backwards compatibility with scripts written using the Avguard Extension in previous versions of 3ds Max.