Go to: Synopsis. Return value. Related. Flags. MEL examples.
detachDeviceAttr [-all] [-attribute string] [-axis string] [-device string] [-selection]
detachDeviceAttr is undoable, queryable, and NOT editable.
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.
None
In query mode, return type is based on queried flag.
assignInputDevice, attachDeviceAttr, devicePanel, getInputDeviceRange, getModifiers, listDeviceAttachments, listInputDeviceAxes, listInputDeviceButtons, listInputDevices, recordAttr, setAttrMapping, setInputDeviceMapping, unassignInputDevice
all, attribute, axis, device, selection
Long name (short name) |
Argument types |
Properties |
|
-all(-all)
|
|
|
|
Delete all attachments on every device.
|
|
-attribute(-at)
|
string
|
|
|
The attribute to detach. This flag must be used
with the -d/device flag.
|
|
-axis(-ax)
|
string
|
|
|
The axis to detach. This flag must be used with
the -d/device flag.
|
|
-device(-d)
|
string
|
|
|
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)
|
|
|
|
Detaches selection attachments.
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command.
|
detachDeviceAttr -d "spaceball" -ax "XAxis" -at "translateX";