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.

Flags:
  • attachment : att (bool) [query]

    Returns the plugs that a device and axis are attached to. Expects the -deviceIndex and axisIndex to be used in conjunction.

  • axisCoordChanges : acc (bool) [query]

    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) [create,query,edit]

    Used usually in conjunction with other flags, to indicate the index of the axis.

  • axisName : axn (bool) [query]

    Returns the name of the axis. Expects the -deviceIndex and -axisIndex flags to be used in conjunction.

  • axisOffset : axo (bool) [query]

    Returns the offset of the axis. Expects the -deviceIndex and -axisIndex flags to be used in conjunction.

  • axisScale : axs (bool) [query]

    Returns the scale of the axis. Expects the -deviceIndex and -axisIndex flags to be used in conjunction.

  • deviceIndex : dvi (int) [create,query,edit]

    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 (bool) [query]

    Returns the number of axis this device has. Expects the -deviceIndex flag to be used.

  • numDevices : ndv (bool) [query]

    Returns the number of devices currently attached.

Derived from mel command maya.cmds.deviceManager

Previous topic

pymel.core.animation.deformerWeights

Next topic

pymel.core.animation.disconnectJoint

Core

Core Modules

Other Modules

This Page