Controlling Render parameters with Maxscript


I’m making a script that net renders a scene, and I need a way to control certain elements of the render, namely the start and end frames and the nth frame settings. I’ve just been placing rendtimetype = 2 and rendNthFrame = 2 into my code. It there a step I’m missing?


make sure you commit and save the changes before submitting?

if that doesn’t help, try setting the job properties before submitting



Thanks a lot! Those worked great.

I don’t suppose you know how to set PNG settings for a net render? I really need 8-bit files, but I can’t get the output to be anything but the default settings


'fraid not - PiXEL_MoNKeY may pitch in here on how to do that with 3dsmaxcmd (see: ). I don’t think I’ve had any reliable way of setting the file output parameters dynamically. It might work if you set the PNGio bits up first, then set the rendOutputFilename to a .png extension path, save, and submit…but that’s total guesswork.


The only way I know how to force settings is kind of a pain. Open max make your changes to the settings. Then you need to copy the changed png.cfg file from your user plugcfg folder to the corresponding folder on the render machines (you will need to know whether you are using the user config folders or the max root config folders). This can be done through backburner using batch files, see my post here on how I was doing a similar thing with EXR file config settings.


Edit: Unfotunately PNG is not one of the supported formats with 3dsmaxcmd, the support formats are BMP, JPG, TGA, TIFF, EXR, RPF, and RLA.


This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.