Hello all, 
Is it possible to choose a specific camera in panels?
i'd tryed this:

perspPanel = cmds.getPanel( withLabel='Persp View')
cameraFound = 'camera1'
cmds.modelPanel( perspPanel, edit=True, replacePanel=cameraFound )

but i've got this error:
# Error: RuntimeError: file <maya console> line 3: modelPanel: Object 
'camera1' not found. # 
even if the camera1 exist...

-- 
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/8a70f2a1-b6cc-44e8-ba93-6062b1a56fc3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to