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
None
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
changeCommand(cc)
|
[string, string]
|
![]() |
||
|
||||
create(c)
|
boolean
|
![]() |
||
|
||||
delete(d)
|
boolean
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
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 )