Are you looking to close the UI or just apply a reset of the polySelect settings?
from maya import mel # Ensure command is available in mel # This can happen when running standalone if not mel.eval("exists resetPolySelectConstraint"): mel.eval("source polygonConstraint") # Reset all parameters mel.eval("resetPolySelectConstraint;") Would this work for you? On Wednesday, June 17, 2020 at 7:28:34 AM UTC+2, Vishal Kadam wrote: > > Have a mel command > > resetPolySelectConstraint; evalDeferred("deleteUI > polySelectionConstraintPanellWindow"); > > need python command for close and reset poly selection Constraint > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/c170cf12-cf84-4dd1-902f-ed087e5ed046o%40googlegroups.com.