Interfaces > Core Interfaces > AnimLayerManager |
This Core Interface exposes the Animation Layer Manager to MAXScript.
Available in 3ds Max 9 and higher.
Get/Set the state of the Filter Active Only option.
Get/Set the state of the Just Up To Active option.
Show/hide the Animation Layers Manager toolbar. When the argument is true, the toolbar will be displayed. When the argument is false, the toolbar will be hidden.
Shows the Enable Anim Layers dialog for the specified objects.
<integer>AnimLayerManager.enableLayers <&node array>nodes pos:<boolean> rot:<boolean> scale:<boolean> ik:<boolean> object:<boolean> customAtt:<boolean> mod:<boolean> mat:<boolean> other:<boolean> nodes is In and Out parameter pos default value: true rot default value: true scale default value: true ik default value: false object default value: false customAtt default value: false mod default value: false mat default value: false other default value: false
Enables the Animation Layers for the specified objects without user interaction via the Enable Anim Layers dialog. The optional keyword parameters can be used to enable or disable animation layers for the given track types.
Returns true if the Animation Layer can be enabled for the specified object and track, false otherwise.
Enables the Animation Layer for the specified object and track. Returns true on success, false on failure.
Returns an array of indices representing the layers used by the specified nodes.
Sets the indexed layer as the current layer.
<void>AnimLayerManager.setLayerActiveNodes <index>listIndex <&node array>nodes listIndex Validated by Validator function nodes is In and Out parameter
Sets the active nodes for the indexed layer to the by-reference array of nodes.
Writes the active layers nodes into the by-reference array of nodes. Returns an array of layer indices.
Returns the nodes using the active layer into the by-reference array of nodes.
<void>AnimLayerManager.addLayer <&TSTR>name <&node array>nodes <bool>useActiveControllerType name is In and Out parameter nodes is In and Out parameter
Adds a layer with the given name to the nodes specified by the second argument. The third argument controls whether to use the active controller type.
Deletes the indexed Animation Layer.
<void>AnimLayerManager.deleteLayerNodes <index>listIndex <&node array>nodes listIndex Validated by Validator function nodes is In and Out parameter
Deletes the indexed Animation Layer from the specified scene nodes.
<void>AnimLayerManager.copyLayerNodes <index>listIndex <&node array>nodes listIndex Validated by Validator function nodes is In and Out parameter
Copies the indexed Animation Layer from the specified scene nodes.
<void>AnimLayerManager.pasteLayerNodes <index>listIndex <&node array>nodes listIndex Validated by Validator function nodes is In and Out parameter
Pastes the copied Animation Layer into the specified scene nodes at the indexed position.
<Stringby value>AnimLayerManager.getLayerName <index>listIndex listIndex Validated by Validator function
Returns the name of the indexed Animation Layer.
<void>AnimLayerManager.setLayerName <index>listIndex <Stringby value>name listIndex Validated by Validator function
Sets the name of the indexed Animation Layer to the given string.
<float>AnimLayerManager.getLayerWeight <index>listIndex <time>atTime listIndex Validated by Validator function
Returns the weight of the indexed Animation Layer.
<void>AnimLayerManager.setLayerWeight <index>listIndex <time>atTime <float>weight listIndex Validated by Validator function
Sets the weight of the indexed Animation Layer to the given value.
Returns the Mute state of the indexed Animation Layer as a boolean value.
<void>AnimLayerManager.setLayerMute <index>listIndex <bool>mute listIndex Validated by Validator function
Sets the Mute state of the indexed Animation Layer to the given boolean value.
Gets the Locked state of the indexed Animation Layer as boolean value.
Available in 3ds Max 2010 and higher.
<void>AnimLayerManager.setLayerLocked <index>listIndex <bool>locked listIndex Validated by Validator function
Sets the Locked state of the indexed Animation Layer to the given boolean value.
Available in 3ds Max 2010 and higher.
<bool>AnimLayerManager.getLayerOutputMute <index>listIndex listIndex Validated by Validator function
Returns the Output Mute state of the indexed Animation Layer as a boolean value.
<void>AnimLayerManager.setLayerOutputMute <index>listIndex <bool>mute listIndex Validated by Validator function
Sets the Output Mute state of the indexed Animation Layer to the given boolean value.
<void>AnimLayerManager.collapseLayerNodes <index>listIndex <&node array>nodes listIndex Validated by Validator function nodes is In and Out parameter
Collapses theindexedAnimation Layer of the given scene nodes.
Disables the Animation Layers of the given scene nodes.
Opens the Layer Properties dialog.
Refreshes the Layer Properties dialog.
Available in 3ds Max 2010 and higher.
<void>AnimLayerManager.SetCollapseControllerType <enum>controllerType controllerType enums: {#Bezier|#Linear|#Default}
Sets the Controller Type to collapse to. Corresponds to the radio buttons in the Layer Properties dialog.
<enum>AnimLayerManager.GetCollapseControllerType() GetCollapseControllerType enums: {#Bezier|#Linear|#Default
Returns the Controller Type to collapse to. Corresponds to the radio buttons in the Layer Properties dialog.
Sets whether to collapse to keys only when possible (false) or to keys per frame (true). Note that this value is the inverse of the checkbox' state in the Layer Properties dialog.
Returns whether to collapse to keys only when possible (false) or to keys per frame (true). Note that this value is the inverse of the checkbox' state in the Layer Properties dialog.
Sets whether to collapse the active range (true) or the user-defined range (false). Corresponds to the radio buttons in the Layer Properties dialog > Per Frame Collapse Range.
Get whether to collapse the active range (true) or the user-defined range (false).Corresponds to the radio buttons in the Layer Properties dialog > Per Frame Collapse Range.
Sets the Collapse Range to the given interval value. Corresponds to the value spinners in the Layer Properties dialog > Per Frame Collapse Range.
Returns the Collapse Range interval value. Corresponds to the value spinners in the Layer Properties dialog > Per Frame Collapse Range.