I'm working on my first script in python. It should be just a 2 tabs script, on one tab there will be the character picker, on the second tab there should be a camera view with the face GUI.
I'd like to get rid of the red circled menu (which you can see here http://postimg.org/image/fozvc010x/) and lock the view in that way, forbidding zoom and pan. I tried to search on the maya help but it is not very clear for me. I also attach the code responsible for that view. FacialGUI = cmds.formLayout() FacialPanel = cmds.modelPanel(camera = "facial_cam") cmds.formLayout(FacialGUI, e=True, attachForm=[ (FacialPanel, "top", 0), (FacialPanel, "left", 0), (FacialPanel, "bottom", 0), (FacialPanel, "right", 0) ]) cmds.setParent( '..' ) Thanks, Daniele! -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/d17ad4fd-ce68-4f62-ab64-e52b4c88b2f7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
