Isn't it just:

pm.file(s=1, f=1)

I dont think you use the mel namespace for cmds in the core namespace.

On Apr 25, 3:33 pm, hapgilmore <[email protected]> wrote:
> PyMel v1.0.0 docs document a saveFile() function, but it's not in Maya
> 2011's pymel. Is this a known issue, or am I missing something?
>
> Interestingly enough:
>
>     pm.mel.file(save=True,force=True)
>
> doesn't work...
>
> In the meantime:
>
>    pm.mel.eval('file -save -force')
>
> will have to suffice?

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to