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

Synopsis

insertJoint( [object] )

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

insertJoint is undoable, NOT queryable, and NOT editable.

This command will insert a new joint under the given or selected joint. If the given joint has child joints, they will be reparented under the new inserted joint.

The given joint(or selected joint) should not have skin attached. The command works on the selected joint. No options or flags are necessary.

Return value

stringThe name of the new inserted joint

Related

connectJoint, ikHandle, ikHandleDisplayScale, ikSolver, ikSystem, ikSystemInfo, joint, jointCluster, jointDisplayScale, jointLattice, mirrorJoint, removeJoint, removeJoint

Python examples

import maya.cmds as cmds

# Will insert a new joint under joint2. Child joints of joint2 will be
# under the new inserted joint.
cmds.insertJoint( 'joint2' )