Open/close Maya graph editor (MEL script)
if (`window -q -ex graphEditor1Window`) | |
deleteUI graphEditor1Window; | |
else | |
tearOffPanel "Graph Editor" "graphEditor" true; |
This comment has been minimized.
This comment has been minimized.
Another way: import maya.cmds as cmds
for panel in cmds.getPanel(sty="graphEditor") or []:
cmds.scriptedPanel(panel, e=True, to=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
Useful! :)