Are you on linux or win? I know python threading with maya is a
problem in linux because the way X11 works, but I don't know if it
would work in windows...

Maya docs recommend us to use maya idle to run threads instead of
python thread module...

check out this page for more info:
http://download.autodesk.com/us/maya/2009help/index.html?url=Python_Python_and_threading.htm,topicNumber=d0e178412

I don't know if it would work in your case...

let me know how it goes...

-H

On Thu, Jan 22, 2009 at 9:19 AM, [email protected]
<[email protected]> wrote:
>
> Hey Everyone,
>
> This isn't so much a Maya python questions right now, but I hope
> someone can direct me. I've built a UI in PyQt and have a FileDialog
> that opens, once the user browses to a folder, I run a function. When
> the function is running, the original UI goes blank until the function
> has finished. What process would I go through to run the function in a
> thread so the UI doesn't become unresponsive? Should I use threading
> module? Any help would be great
>
> Cheers,
> Shawn
> >
>

--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---

Reply via email to