This command queriers the internal device manager for information on attached devices. In query mode, return type is based on queried flag.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
attachment (att) | bool | ||
|
|||
axisCoordChanges (acc) | bool | ||
Returns whether the axis coordinate changes. Expects the -deviceIndex and -axisIndex flags to be used in conjunction.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
axisIndex (axi) | int | ||
|
|||
axisName (axn) | bool | ||
|
|||
axisOffset (axo) | bool | ||
|
|||
axisScale (axs) | bool | ||
|
|||
deviceIndex (dvi) | int | ||
|
|||
deviceNameFromIndex (dni) | int | ||
|
|||
numAxis (nax) | bool | ||
|
|||
numDevices (ndv) | bool | ||
|
Derived from mel command maya.cmds.deviceManager
Example:
import pymel.core as pm
import maya.cmds as cmds
# FIXME: get python sytax for above query.
pm.deviceManager("layer1", root=True)