This command detaches connections between device axes and node attributes. The command line arguments are the same as for the corresponding attachDeviceAttr except for the clutch argument which can not be used in this command. In query mode, return type is based on queried flag.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
all (all) | bool | ||
|
|||
attribute (at) | unicode | ||
|
|||
axis (ax) | unicode | ||
|
|||
device (d) | unicode | ||
|
|||
selection (sl) | bool | ||
|
Derived from mel command maya.cmds.detachDeviceAttr
Example:
import pymel.core as pm
import maya.cmds as cmds
pm.detachDeviceAttr( d='spaceball', ax='XAxis', at='translateX' )