pymel.core.system.detachDeviceAttr¶
- detachDeviceAttr(*args, **kwargs)¶
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.
Dynamic library stub function
Flags:
Long Name / Short Name Argument Types Properties all / all bool Delete all attachments on every device. attribute / at unicode The attribute to detach. This flag must be used with the -d/device flag. axis / ax unicode The axis to detach. This flag must be used with the -d/device flag. device / d unicode Delete the attachment for this device. If the -ax/axis flag is not used, all of the attachments connected to this device are detached. selection / sl bool Detaches selection attachments. Flag can have multiple arguments, passed either as a tuple or a list. Derived from mel command maya.cmds.detachDeviceAttr
Example:
import pymel.core as pm pm.detachDeviceAttr( d='spaceball', ax='XAxis', at='translateX' )