pymel.core.animation.deviceManager¶
- deviceManager(*args, **kwargs)¶
This command queriers the internal device manager for information on attached devices. In query mode, return type is based on queried flag.
Dynamic library stub function
Flags:
Long Name / Short Name Argument Types Properties attachment / att bool
Returns the plugs that a device and axis are attached to. Expects the -deviceIndex and axisIndex to be used in conjunction. axisCoordChanges / acc bool
Returns whether the axis coordinate changes. Expects the -deviceIndex and -axisIndex flags to be used in conjunction. axisIndex / axi int
Used usually in conjunction with other flags, to indicate the index of the axis. axisName / axn bool
Returns the name of the axis. Expects the -deviceIndex and -axisIndex flags to be used in conjunction. axisOffset / axo bool
Returns the offset of the axis. Expects the -deviceIndex and -axisIndex flags to be used in conjunction. axisScale / axs bool
Returns the scale of the axis. Expects the -deviceIndex and -axisIndex flags to be used in conjunction. deviceIndex / dvi int
Used usually in conjunction with other flags, to indicate the index of the device. deviceNameFromIndex / dni int
Returns the name of the device with the given index. numAxis / nax bool
Returns the number of axis this device has. Expects the -deviceIndex flag to be used. numDevices / ndv bool
Returns the number of devices currently attached. Flag can have multiple arguments, passed either as a tuple or a list. 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)