pymel.core.animation.copyFlexor

copyFlexor(*args, **kwargs)

This command copies an existing bone or joint flexor from one bone (joint) to another. The attributes of the flexor and their connections as well as any tweaks in on the latticeFfd are copied from the original to the new flexor. If the selected bone (joint) appears to be a mirror reflection of the bone (joint) of the existing flexor then the transform of the ffd lattice group gets reflected to the new bone (joint). The arguments for the command are the name of the ffd Lattice and the name of the destination joint. If they are not specified at the command line, they will be picked up from the current selection list.

Derived from mel command maya.cmds.copyFlexor

Example:

import pymel.core as pm

import maya.cmds as cmds

# Copy flexor ffd1Lattice to joint8
#
pm.copyFlexor( 'ffd1Lattice', 'joint8' )

Previous topic

pymel.core.animation.copyDeformerWeights

Next topic

pymel.core.animation.copyKey

Core

Core Modules

Other Modules

This Page