Go to: Synopsis. Return value. Related. Python examples.
removeJoint(
[object]
)
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
removeJoint is undoable, queryable, and 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.import maya.cmds as cmds # joint5 will be removed. Child joints of joint5 will be reparented under # joint5's parent joint. cmds.removeJoint( 'joint5' )