Forum Groups
  All forums
    Help & Feedback
      Work in progress
      Finished Art
      Non-Max related

Maxunderground news unavailable

Batch Render multiple scenes?
show user profile  JeffP
Is there a script or plugin which will allow me to render numerous files from a kind of spreadsheet?

Currently the only way i know of using batch render is to open each scene individually and initiate the network batch render from there. which is a pain when working with numerous files.

It would be ideal to work with an interface whereby you simply select any number of scenes from a browser and place them into a master list.

I've searched script spot and the web and found similar ones, but they either don't work or are no longer supported.

Any plugin suggestions?
read 583 times
1/6/2016 5:33:14 AM (last edit: 1/6/2016 5:33:14 AM)
show user profile  br0t
You could probably use this:

It lets you choose a bunch of .max files and one or more .ms files to execute after loading each scene. Create a file and open it in a text editor, type:

max quick render

which is the equivalent of pressing the render button. Save the file and choose it within the batchitmax script. If your scenes are setup correctly for rendering directly after opening them, that should do.

never get low & slow & out of ideas

read 550 times
1/7/2016 11:35:29 PM (last edit: 1/7/2016 11:36:41 PM)
show user profile  JeffP
Thanks, br0t !

This functionality works great!!

Ideal for multiple local renders.

Is there a way to have the scenes submitted to the render farm. ie batch/ Net Render?

In previous Max versions, the render setup contained a check box, that when enabled would automatically launch it to the Net Render. .. which is now gone.

Is there a way to enable an automatic submission to the render farm, through Max, or a modification to the script ?

Still, many thanks for this!

read 520 times
1/9/2016 8:41:38 AM (last edit: 1/9/2016 8:41:38 AM)
show user profile  br0t
There are two ways to do this. Maxscript has an API for the network rendering stuff, though I haven't had the greatest experiences with it, it was a bit buggy at least back in 2013, maybe they fixed that. For your simple use case though, it should not be a problem. You can use this:

local mgr = netRender.GetManager()
mgr.Connect #manual "localhost"
mgr.QueryControl #wait

local job = mgr.NewJob()


You can set all kinds of properties on the job, like its name, priority etc. if needed before submitting it. Also you may use #automatic instead of #manual for the connection. For manual, the localhost may be a different name or an IP string in your case, also you can optionally specify a port like: port:12345

An alternative approach to this would be to actually open the network submission dialog and use a script to programmatically fill that out and press the submission button. That is much more complicated but back then actually was the more stable and flexible solution, since not all GUI options are exposed via the Maxscript API. But I think the above should work for you.

never get low & slow & out of ideas

read 512 times
1/9/2016 12:36:30 PM (last edit: 1/9/2016 12:39:21 PM)
show user profile  JeffP
Thanks for the script , br0t!

Tried several variations to get this to work with a few simple cube scenes, but without success.

I saved the script as an .ms file and launched it through the BatchitMax, while Backburner was running.

Initially it would crash max. until I changed the mgr. connect to #manual ""
which is my ip #

The script seems to work and loads my three scenes into Max from the list that I setup, but it doesn't send these render jobs to the Backburner Render Queue Monitor list.

Is there a step i'm missing?
Thanks for the help!
read 479 times
1/11/2016 5:47:57 AM (last edit: 1/11/2016 5:47:57 AM)
#Maxforums IRC
Open chat window