adding render node to output file

Hi

I’m trying to do a maintenance render on deadline but I would like each file to have the render node name added to the output file so I can compare the outputs easily.

I’ve created a script:


filenameRenStart = substring rendOutputFilename 1 (rendOutputFilename.count - 5)
filenameRenEnd = substring rendOutputFilename (rendOutputFilename.count - 4) rendOutputFilename.count
filenameRenStart + “" + sysInfo.computername + filenameRenEnd
rendOutputFilename = (filenameRenStart + "
” + sysInfo.computername + filenameRenEnd)
true


Which works fine rendering locally but when I try and do this on the farm it just renders out with the original file name. I’ve added the script to pre-render in the render dialog, Run Post-Load Script and Run Post-Frame Script in the deadline submitting script but with no change.

Any suggestions on how to do this. I’m at a loss what else to try.

All the best

Phil

This is Mel/MaxScript? What plugin is this running in?

You’re right I think I forgot to say the program I’m running.
The programming I’m using is 3DSMax 2014 and the Script I’ve created is Maxscript and I’m trying to get it to run pre render when submitting to Deadline to change the saved jpg name so that it adds the Machine name so for example ThisTestRender_0001.jpg would be rendered out as ThisTestRender_MyMachineName_0001.jpg