so i'm trying to batch render icons for a shader library.
my script searches through a specified location and finds any maya file 
without an image associated with it, and then imports that file(a shader) 
into a render scene, assigns imported shader, and renders 
using mel.eval('renderWindowRenderCamera render renderView renderCam')

when render is done it saves image to location of shader file. The problem 
I am having is specific to vray. Since rendering in maya with vray allows 
you to continue working, the save image part of my script is executing 
right after render starts, before render is finished. In mental ray it 
won't execute until render is finished.

Any ideas to deal with this? I haven't found a way to query if render is 
done before moving on. Thanks in advance

Erik

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/05260ce5-ef9c-40dc-9e92-455d5840658b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to