pymel.core.animation.enableDevice

enableDevice(*args, **kwargs)

Sets (or queries) the device enable state for actions involving the device. -monitoraffects all assignInputDevice and attachDeviceAttr actions for the named device-recordcontrols if the device is recorded (by default) by a recordDevice action-apply channelName [channelName ... ]controls if data from the device channel is applied (by default) by applyTake to the param curves attached to the named channel.Disabling a channel for applyTake cause applyTake to ignore the enable state of all childchannels – treating them as disabled. In query mode, return type is based on queried flag.

Flags:
  • apply : a (bool) [create,query]

    enable/disable applyTakefor the specified channel(s) Flag can have multiple arguments, passed either as a tuple or a list.

  • device : d (unicode) [create,query]

    specifies the device to change

  • enable : en (bool) [create,query]

    enable (or disable) monitor/record/apply

  • monitor : m (bool) [create,query]

    enables/disables visible update for the device (default)

  • record : rec (bool) [create,query]

    enable/disable recordDevicedevice recording

Derived from mel command maya.cmds.enableDevice

Previous topic

pymel.core.animation.effector

Next topic

pymel.core.animation.filterCurve

Core

Core Modules

Other Modules

This Page