This command queriers the internal device manager for information on attached devices. In query mode, return type is based on queried flag.
Flags:
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 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
# FIXME: get python sytax for above query.
pm.deviceManager("layer1", root=True)