Go to: Synopsis. Return value. Related. Flags. Python examples.

Synopsis

reorderDeformers( string string selectionList , [name=string])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

reorderDeformers is undoable, NOT queryable, and NOT editable.

This command changes the order in which 2 deformation nodes affect the output geometry. The first string argument is the name of deformer1, the second is deformer2, followed by the list of objects they deform.

It inserts deformer2 before deformer1. Currently supported deformer nodes include: sculpt, cluster, jointCluster, lattice, wire, jointLattice, boneLattice, blendShape.

Return value

None

Related

nonLinear

Flags

name
Long name (short name) Argument types Properties
name(n) string create
This flag is obsolete and is not used.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can have multiple arguments, passed either as a tuple or a list.

Python examples

import maya.cmds as cmds

# Create some geometry to deform
cmds.sphere( name='sphere1' )
cmds.sphere( name='sphere2' )

# Create a couple of deformers
cmds.select( 'sphere1Shape', 'sphere2Shape' )
cmds.sculpt( name='sculpt1' )
cmds.select( 'sphere1Shape', 'sphere2Shape' )
cmds.cluster( name='cluster1' )

# Change their order
cmds.reorderDeformers( 'sculpt1', 'cluster1', 'sphere1Shape', 'sphere2Shape' )