pymel.core.system.detachDeviceAttr

static system.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.

Flags:
Long name (short name) Argument Types Properties
all (all) bool ../../../_images/create.gif
 
Delete all attachments on every device. Flag can have multiple arguments, passed either as a tuple or a list.
attribute (at) unicode ../../../_images/create.gif
 
The attribute to detach. This flag must be used with the -d/device flag.
axis (ax) unicode ../../../_images/create.gif
 
The axis to detach. This flag must be used with the -d/device flag.
device (d) unicode ../../../_images/create.gif
 
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 ../../../_images/create.gif
 
Detaches selection attachments.

Derived from mel command maya.cmds.detachDeviceAttr

Example:

import pymel.core as pm

pm.detachDeviceAttr( d='spaceball', ax='XAxis', at='translateX' )

Previous topic

pymel.core.system.decorator

Next topic

pymel.core.system.deviceEditor

Core

Core Modules

Other Modules

This Page