Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##########################TOGGLE OUTLINER VISIBILITY#############################
- #turns Maya outliner visibility On and Off
- #works with Maya 2018
- import maya.cmds as cmds
- if (cmds.workspaceControl("Outliner",q=True, visible=True)):
- cmds.deleteUI("Outliner",window=True)
- else:
- cmds.workspaceControl("Outliner", edit=True, restore=True)
Add Comment
Please, Sign In to add comment