1

Hi,

I need to copy a huge chunk of folders from local to server while working on an application ( maya 3d ). How is it possible. specifically.

Brgds,

kNish

flag

2 Answers

0

Using multithreading in Python doesn't mean that your thread will be executed in a different one than the Maya system process/thread, unfortunately. Threading in Python is controlled by, and occurs in, the Python VM, which explain the maya freeze as the python VM is running within Maya in this case. A solution would be to have a separate process (in Python or anything else) that would be in charge of copying the chunk of foldens when ordered to do so by your Python script running in Maya.

link|flag
0

Hi, You should look at the threading module in Python.

There are a lots of simple examples on the net, here's a couple: http://www.devshed.com/c/a/Python/Basic-Threading-in-Python/ http://www.saltycrane.com/blog/2008/09/simplistic-python-thread-example/

Hope this helps.

link|flag
is it possible to MThreadpool MThreadAsync in python maya to achieve the same....as it occurs that although i may use threads, yet maya will freeze when using it over network... – knishua Jun 30 at 7:25

Your Answer

Get an OpenID
or

Not the answer you're looking for? Browse other questions tagged or ask your own question.