- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey there.
I have a python tool I've written that I run when I startup Maya 2018 to create my workspace layout which I will save to a Maya workspace eventually.
My tool currently just sets the main window's layout to docked outliner and turns textures on in modelPanel4. Then it creates a tear off window (with modelPanel) and opens the graph editor. The tear off window however no longer has the "Panels" dropdown menu. I use this same script on Maya 2016 and the "Panels" menu is there so I'm confused as to why all of a sudden it is no longer in there when I create a new window with a modelPanel.
Here is my code currently:
cmds.window("camWin", title="RenderCam Window", topLeftCorner=(0, 1920), widthHeight=(1150, 560)) cmds.paneLayout("playBpane", width=640, height=275) camModelPanel = cmds.modelPanel("renderCamModelPanel", menuBarVisible=True, barLayout=True, modelEditor=True) cmds.showWindow("camWin")
I want this Menubar:
But I get this menu bar with the code above (with the missing "Panels" dropdown menu):
Would really like to have this functionality back for my tear off window because I use multiple cameras in the scene at a time.
Thanks for the help!
Solved! Go to Solution.