Never done it, but i think follwoing code will help
all_render_files = ['file.ma', 'file2.ma']
for render_file in all_render_files:
# Don't know the exact command for render
subprocess.call('"..../maya.exe" "{0}"').format(render_file)
this will render the given files in queue.
Note :- You can also multithread it , look for memory and processor usage.
Does it help ?
---
Day Dreamer
--
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/023651cf-d375-4a28-8b21-db0f5bf8d636%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.