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 removedFlag can appear in Create mode of commandFlag 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

import maya.cmds as cmds

# 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 )

Previous topic

pymel.core.modeling.polySelectConstraint

Next topic

pymel.core.modeling.polySeparate

Core

Core Modules

Other Modules

This Page