I would like to know the solution to this problem as well. I've been using a
lot of fileBrowser function in the past, and now want to port them to pymel,
or change it to python/pymel way to open a file dialog.

Thanks,
Jefri

On Tue, Mar 16, 2010 at 4:42 AM, Justin Rosen <[email protected]> wrote:

> Hey guys,
>
> I was wondering if anyone was using maya's fileBrowser command within
> maya.  It's undocumented and is way better then the cross platform
> fileDialog garbage that comes with maya.
>
> I'm guessing most people have rolled their own pyqt file browser, but is it
> possible to use this from within python?  I'm getting a sytax error
>
> def test(filename, type):
>     print filename, type
>
> mel.fileBrowser('test()', 'Export MDD', '', 4)
>
> // Error:  //
> // Error: Line 0.23: Syntax error //
>
> Is there a better file browser in pymel, I didn't see one.  What are most
> people using for file browsing?
>
> Thanks,
> Justin
>
>
>  --
> http://groups.google.com/group/python_inside_maya

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

Reply via email to