pymel.core.animation.disconnectJoint

disconnectJoint(*args, **kwargs)

This command will break a skeleton at the selected joint and delete any associated handles.

Flags:
Long name (short name) Argument Types Properties
attachHandleMode (ahm) bool ../../../_images/create.gif
 
This flag is obsolete and no longer supported.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.
deleteHandleMode (dhm) bool ../../../_images/create.gif
 
Delete the handle on the associated joint.

Derived from mel command maya.cmds.disconnectJoint

Example:

import pymel.core as pm

import maya.cmds as cmds

pm.joint( p=(0, 0, 0), name='jointA' )
pm.joint( p=(0, 1, 0), name='jointB' )
pm.joint( p=(0, 2, 0), name='jointC' )
pm.disconnectJoint( 'jointB' )

Previous topic

pymel.core.animation.deviceManager

Next topic

pymel.core.animation.dopeSheetEditor

Core

Core Modules

Other Modules

This Page