Save maya session on a different thread

36 views
Skip to first unread message

Arvid Schneider

unread,
Dec 5, 2015, 10:41:44 AM12/5/15
to Python Programming for Autodesk Maya
Hi,
I am having a hard time trying to save a maya session on a different thread. 
For big scenes it takes a while to save, which locks up maya. Is there a way to do that threaded?
Arvid

Fredrik Averpil

unread,
Dec 5, 2015, 11:14:31 AM12/5/15
to Python Programming for Autodesk Maya
Not sure if you can do that (I could be wrong?).

I save down the Maya binary scene onto the server as well as save an ascii scene locally (to SSD) and initiate a file copy outside of Maya which places the ascii scene on the server.

This "feature" has actually become one of the most appreciated by our artists, as it dramatically has made saving a lot faster for us.

I'm doing this while also making sure the same scene is not being saved/copied multiple times, simultaneously.

// Fredrik

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/3494c370-5b6a-4167-8d2b-b8523cee3d7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Arvid Schneider

unread,
Dec 5, 2015, 11:17:48 AM12/5/15
to Python Programming for Autodesk Maya
Okay, but both saves, binary and ascii, will lock the maya session right?


On Saturday, December 5, 2015 at 4:14:31 PM UTC, Fredrik Averpil wrote:
Not sure if you can do that (I could be wrong?).

I save down the Maya binary scene onto the server as well as save an ascii scene locally (to SSD) and initiate a file copy outside of Maya which places the ascii scene on the server.

This "feature" has actually become one of the most appreciated by our artists, as it dramatically has made saving a lot faster for us.

I'm doing this while also making sure the same scene is not being saved/copied multiple times, simultaneously.

// Fredrik

lör 5 dec 2015 kl. 16:41 skrev Arvid Schneider <arvidsc...@gmail.com>:
Hi,
I am having a hard time trying to save a maya session on a different thread. 
For big scenes it takes a while to save, which locks up maya. Is there a way to do that threaded?
Arvid

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsub...@googlegroups.com.

Marcus Ottosson

unread,
Dec 5, 2015, 11:39:03 AM12/5/15
to python_in...@googlegroups.com

Okay, but both saves, binary and ascii, will lock the maya session right?

Yes. There is no way around it.


On 5 December 2015 at 16:17, Arvid Schneider <arvidsc...@gmail.com> wrote:
Okay, but both saves, binary and ascii, will lock the maya session right?


On Saturday, December 5, 2015 at 4:14:31 PM UTC, Fredrik Averpil wrote:
Not sure if you can do that (I could be wrong?).

I save down the Maya binary scene onto the server as well as save an ascii scene locally (to SSD) and initiate a file copy outside of Maya which places the ascii scene on the server.

This "feature" has actually become one of the most appreciated by our artists, as it dramatically has made saving a lot faster for us.

I'm doing this while also making sure the same scene is not being saved/copied multiple times, simultaneously.

// Fredrik

lör 5 dec 2015 kl. 16:41 skrev Arvid Schneider <arvidsc...@gmail.com>:
Hi,
I am having a hard time trying to save a maya session on a different thread. 
For big scenes it takes a while to save, which locks up maya. Is there a way to do that threaded?
Arvid

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/617dbeef-cbd6-4ee5-bef5-0cfb9dbd7284%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Marcus Ottosson
konstr...@gmail.com

Justin Israel

unread,
Dec 5, 2015, 3:39:57 PM12/5/15
to python_in...@googlegroups.com

This has been a question that has been around for a really long time. I think I was asked to try and solve the same problem about 7 years ago. Pretty sure the only solution is to use a generic scene description format :-)


Arvid Schneider

unread,
Dec 5, 2015, 3:48:06 PM12/5/15
to python_in...@googlegroups.com
Okay, that ends my research then :)
Thanks for the input guys. 
Arvid 
Reply all
Reply to author
Forward
0 new messages