Ya every time you call render, it will do a maya batch, spinning up an instance, loading the scene, and doing the render. If you are trying to make a "server", maybe one option is that you spin up N number of non-gui interactive Maya's, and then feed it work over a commandPort. Or a Maya standalone via python and do the exact work you want. As far as I know, the straight up render commands do their run with the given flags, and exit.
On Tue, Dec 3, 2013 at 7:38 AM, Vitali Crystal <[email protected]> wrote: > Thanks for the reply! > > I have one last question - when render command is being run, what happens > is on the back-end new Maya process is started and a scene is loaded before > being rendered, right? > > I wonder, however - I know there is a command called batchRender in Maya - > and i can run it for individual layers. But if, say, I loop through all > layers and run that command on each, does it mean Maya will load a scene > every time? Can I run it such that it will use the current opened scene? > > > -- > 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/8adf49cf-1786-4c2e-b9cf-837cf1d6f39c%40googlegroups.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- 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/CAPGFgA2CofcsoF_q0TgvPwLXhkeRPtdsJM%2BLG%2B7npkPYaYixrA%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
