pymel.core.general.isDirty

isDirty(*args, **kwargs)

The isDirtycommand is used to check if a plug is dirty. The return value is 0 if it is not and 1 if it is. If more than one plug is specified then the result is the logical orof all objects (ie. returns 1 if *any* of the plugs are dirty).

Flags:
  • connection : c (bool) [create]

    Check the connection of the plug (default). Flag can have multiple arguments, passed either as a tuple or a list.

  • datablock : d (bool) [create]

    Check the datablock entry for the plug.

Derived from mel command maya.cmds.isDirty

Previous topic

pymel.core.general.isConnected

Next topic

pymel.core.general.isTrue

Core

Core Modules

Other Modules

This Page