Go to: Synopsis. Return value. Related. Python examples.
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
copyFlexor is undoable, NOT queryable, and NOT editable.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.
|string||The name of the new flexor node|
import maya.cmds as cmds # Copy flexor ffd1Lattice to joint8 # cmds.copyFlexor( 'ffd1Lattice', 'joint8' )