pymel.core.modeling.polySelectConstraintMonitor

polySelectConstraintMonitor(*args, **kwargs)

Manage the window to display/edit the polygonal selection constraint parameters

Flags:

Long Name / Short Name Argument Types Properties
changeCommand / cc unicode, unicode ../../../_images/create.gif
  Specifies the mel callback to refresh the window. First argument is the callback, second is the window name.
create / c bool ../../../_images/create.gif
  Specifies the Monitor should be created
delete / d bool ../../../_images/create.gif
  Specifies that the Monitor should be removed Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.polySelectConstraintMonitor

Example:

import pymel.core as pm

# create Monitor
pm.polySelectConstraintMonitor( create=True )

# set up a callback for when the constraints are changed
pm.polySelectConstraintMonitor( changeCommand=('polygonConstraintUpdate', 'MyPanel'));

# delete Monitor
pm.polySelectConstraintMonitor( delete=True )