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
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
Add comment viewed 345 times Latest activity 10 months ago
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.
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.
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…