pymel.core.effects.paintEffectsDisplay

paintEffectsDisplay(*args, **kwargs)

Command to set the global display methods for paint effects items In query mode, return type is based on queried flag.

Flags:

Long Name / Short Name Argument Types Properties
meshDrawEnable / me bool ../../../_images/create.gif ../../../_images/query.gif
  Set whether mesh draw is enabled on objects Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.paintEffectsDisplay

Example:

import pymel.core as pm

pm.paintEffectsDisplay( meshDrawEnable=True )
meshDrawEnabled = pm.paintEffectsDisplay(query=True, me=True)