daily pastebin goal
48%
SHARE
TWEET

Untitled

a guest Nov 19th, 2017 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ##########################TOGGLE OUTLINER VISIBILITY#############################
  2. #turns Maya outliner visibility On and Off
  3. #works with Maya 2018
  4.  
  5. import maya.cmds as cmds
  6. if (cmds.workspaceControl("Outliner",q=True, visible=True)):
  7.         cmds.deleteUI("Outliner",window=True)
  8. else:
  9.     cmds.workspaceControl("Outliner", edit=True, restore=True)
RAW Paste Data
Top