Go to: Synopsis. Return value. Related. Flags. Python examples.
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
disconnectJoint is undoable, NOT queryable, and NOT editable.
This command will break a skeleton at the selected joint and delete
any associated handles.
connectJoint, insertJoint, joint, mirrorJoint, reroot
|string||After you disconnect the Joint, a new joint will be created. The return value is the name of the new created joint and it's ancestor|
Flag can appear in Create mode of command
Flag can appear in Edit mode of command
Flag can appear in Query mode of command
Flag can have multiple arguments, passed either as a tuple or a list.
import maya.cmds as cmds
cmds.joint( p=(0, 0, 0), name='jointA' )
cmds.joint( p=(0, 1, 0), name='jointB' )
cmds.joint( p=(0, 2, 0), name='jointC' )
cmds.disconnectJoint( 'jointB' )