Hi.
I am looking for a way to save and load various workspace layouts (panel layout and the visibility of the UI elements).
- Is there an option within Maya that I do not know?
- Is there a script available which does that?
- How would I do it myself?
example
I'd like to create a set called 'modeling' with shelf and timeline invisible but with status line and command line visible, and with a panel layout of one persp and two orthographic views.
Another set called 'animation' with other UI elements and panels.
I'd like to load these sets via a shelfbutton or menu.
I have been looking around for a script or plug-in but had no luck.
I tried to script it myself, but got stuck at the very beginning:
I can just "toggle" the visibility of UI elements (for example "ToggleStatusLine"). But I need to turn it on and off . I simply do not know how to check if a UI element is visible or not.
Would anyone please help me?
gl.