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.
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.
Solved by robwiese149. Go to Solution.
Hi @robwiese149
Thanks for attaching the code!
This looks like it may be a change with our code and how it recognizes the panel views. I feel like I've seen this issue in the past but I can't recall so I'm going to pass this along to our developers and see if they have any insight on what changes could be made to the code and/or if this is by design.
All the best,
Sean Heasley
Technical Support Specialist
Autodesk Here to Help | My Screencasts | Autodesk Virtual Agent | How To Reset User Settings | Installation and Licensing Forum | Maya Certified Hardware |
Hi @robwiese149
Thanks for attaching the code!
This looks like it may be a change with our code and how it recognizes the panel views. I feel like I've seen this issue in the past but I can't recall so I'm going to pass this along to our developers and see if they have any insight on what changes could be made to the code and/or if this is by design.
All the best,
Sean Heasley
Technical Support Specialist
Autodesk Here to Help | My Screencasts | Autodesk Virtual Agent | How To Reset User Settings | Installation and Licensing Forum | Maya Certified Hardware |
Hi @robwiese149
I'm still waiting on hearing back from the devs but I think this may be a design set up with tear off copies of the viewport.
I noticed in 2016, 17 and 18 that even manually using Tear Off a Copy wont show the Panels view. Its possible this may be by design but I'l let you know if I find a potential workaround!
All the best,
Sean Heasley
Technical Support Specialist
Autodesk Here to Help | My Screencasts | Autodesk Virtual Agent | How To Reset User Settings | Installation and Licensing Forum | Maya Certified Hardware |
Hi @robwiese149
I'm still waiting on hearing back from the devs but I think this may be a design set up with tear off copies of the viewport.
I noticed in 2016, 17 and 18 that even manually using Tear Off a Copy wont show the Panels view. Its possible this may be by design but I'l let you know if I find a potential workaround!
All the best,
Sean Heasley
Technical Support Specialist
Autodesk Here to Help | My Screencasts | Autodesk Virtual Agent | How To Reset User Settings | Installation and Licensing Forum | Maya Certified Hardware |
Thanks Sean for checking it out. I appreciate the help. I did notice that I can right click the camera button at the top left of the viewport and that gives me a dropdown menu of all the cameras too. It's a workaround for now and I can work with it if the code has changed how new panels operate.
Thanks Sean for checking it out. I appreciate the help. I did notice that I can right click the camera button at the top left of the viewport and that gives me a dropdown menu of all the cameras too. It's a workaround for now and I can work with it if the code has changed how new panels operate.
Hi @robwiese149
I think that may be your best bet at least for the time being. It's an interesting issue for sure but I'm curious if the reason behind it is that you could manually tear off multiple copies with different settings, instead of tearing off a copy of an already torn of copy. May just be a current limitation with 2018.
All the best,
Sean Heasley
Technical Support Specialist
Autodesk Here to Help | My Screencasts | Autodesk Virtual Agent | How To Reset User Settings | Installation and Licensing Forum | Maya Certified Hardware |
Hi @robwiese149
I think that may be your best bet at least for the time being. It's an interesting issue for sure but I'm curious if the reason behind it is that you could manually tear off multiple copies with different settings, instead of tearing off a copy of an already torn of copy. May just be a current limitation with 2018.
All the best,
Sean Heasley
Technical Support Specialist
Autodesk Here to Help | My Screencasts | Autodesk Virtual Agent | How To Reset User Settings | Installation and Licensing Forum | Maya Certified Hardware |
Hi, I have a similar problem. I am missing the Panels dropdown menu for the graph editor. Is there a way you can help me to show it? My graph editor is not working, it is blank and the only workaround for this bug seems to tear off it through the panel - tear off menu, that I don`t have in my graph editor. Thank you, if you could help it would be really appreciated
Hi, I have a similar problem. I am missing the Panels dropdown menu for the graph editor. Is there a way you can help me to show it? My graph editor is not working, it is blank and the only workaround for this bug seems to tear off it through the panel - tear off menu, that I don`t have in my graph editor. Thank you, if you could help it would be really appreciated
Can't find what you're looking for? Ask the community or share your knowledge.