Try this:

import pymel.core as pm

# Get the panel
pan = pm.getPanel(withFocus=True)

# Name
print pm.windows.modelPanel(pan, query=True, camera=True)


Should work.
Cya!

2012/1/10, deadparticle <[email protected]>:
> i can hardly find infomation of this
>
> --
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings:
> http://groups.google.com/group/python_inside_maya/subscribe
>

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to