Go to: Synopsis. Return value. Related. Flags. Python examples.
disconnectJoint([attachHandleMode=boolean], [deleteHandleMode=boolean])
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.
string | After the joint is disconnected, a new joint will be created. The return value is the name of the newly created joint and its ancestor. |
connectJoint, insertJoint, joint, mirrorJoint, reroot
attachHandleMode, deleteHandleMode
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' )