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!