Go to: Synopsis. Return value. Keywords. Flags. MEL examples.

Synopsis

deviceManager [-attachment] [-axisCoordChanges] [-axisIndex int] [-axisName] [-axisOffset] [-axisScale] [-deviceIndex int] [-deviceNameFromIndex int] [-numAxis] [-numDevices]

deviceManager is undoable, queryable, and editable.

This command queriers the internal device manager for information on attached devices.

Return value

None

In query mode, return type is based on queried flag.

Keywords

device

Flags

attachment, axisCoordChanges, axisIndex, axisName, axisOffset, axisScale, deviceIndex, deviceNameFromIndex, numAxis, numDevices
Long name (short name) Argument types Properties
-attachment(-att) query
Returns the plugs that a device and axis are attached to. Expects the -deviceIndex and axisIndex to be used in conjunction.
-axisCoordChanges(-acc) query
Returns whether the axis coordinate changes. Expects the -deviceIndex and -axisIndex flags to be used in conjunction.
-axisIndex(-axi) int createqueryedit
Used usually in conjunction with other flags, to indicate the index of the axis.
-axisName(-axn) query
Returns the name of the axis. Expects the -deviceIndex and -axisIndex flags to be used in conjunction.
-axisOffset(-axo) query
Returns the offset of the axis. Expects the -deviceIndex and -axisIndex flags to be used in conjunction.
-axisScale(-axs) query
Returns the scale of the axis. Expects the -deviceIndex and -axisIndex flags to be used in conjunction.
-deviceIndex(-dvi) int createqueryedit
Used usually in conjunction with other flags, to indicate the index of the device.
-deviceNameFromIndex(-dni) int query
Returns the name of the device with the given index.
-numAxis(-nax) query
Returns the number of axis this device has. Expects the -deviceIndex flag to be used.
-numDevices(-ndv) query
Returns the number of devices currently attached.

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.

MEL examples


// query for the number of attached devices
deviceManager -numDevices -q ;