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

Synopsis

removeJoint( [object] )

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

removeJoint is undoable, NOT queryable, and NOT editable.

This command will remove the selected joint or the joint given at the command line from the skeleton. The given(or selected) joint should not be the root joint of the skeleton, and not have skin attached. The command works on the given(or selected) joint. No options or flags are necessary.

Return value

None

Related

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

Python examples

import maya.cmds as cmds

# joint5 will be removed. Child joints of joint5 will be reparented under
# joint5's parent joint.
cmds.removeJoint( 'joint5' )