Go to: Synopsis. Return value. Related. Flags. Python examples.


polySelectConstraintMonitor( string , [changeCommand=[string, string]], [create=boolean], [delete=boolean])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

polySelectConstraintMonitor is undoable, NOT queryable, and NOT editable.

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

Return value



polyInstallAction, polyListComponentConversion, polySelectConstraint


changeCommand, create, delete
Long name (short name) Argument types Properties
changeCommand(cc) [string, string] create
Specifies the mel callback to refresh the window. First argument is the callback, second is the window name.
create(c) boolean create
Specifies the Monitor should be created
delete(d) boolean create
Specifies that the Monitor should be removed

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can have multiple arguments, passed either as a tuple or a list.

Python examples

import maya.cmds as cmds

# create Monitor
cmds.polySelectConstraintMonitor( create=True )

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

# delete Monitor
cmds.polySelectConstraintMonitor( delete=True )