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.
deleteHandleMode / dhm bool ../../../_images/create.gif
  Delete the handle on the associated joint. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.disconnectJoint

Example:

import pymel.core as pm

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' )