It then opens the file, adds the box and saves the file so quickly that i don't see anything happen before it closes.Ĭhecking the file shows yet another box created! On the Backburner Server machine i see that 3ds Max opens. In the Backburner Monitor it shows the new job (it also shows the group "licensed" that i've created, to make testing easier there is only one machine in there):Īnd in the Backburner Server you see that it adds the new job, the 'Resume Job' is when i click in Backburner Monitor to start the job, it then sends the job to the Backburner Server machine (fara03978w7) which does the work and indicates that the job is complete. When you run that in a shell it shows the parameters that were passed on the command line (check for any errors after the parameters): The actual command i want to execute (note that i only added the spaces before 3ds to prevent a formatting issue on the blog)īringing them all together gives (all paths that contains spaces need to in quotes (again note that i only added the spaces before 3ds to prevent a formatting issue on the blog)):Ĭ:\Program Files (x86)\Autodesk\Backburner\cmdjob.exe" -jobName "test" -description "test" -manager FARA06253 -priority 50 -group licensed -suspended "C:\Program Files\Autodesk\ 3ds Max 2011\ 3dsmax.exe" -U MAXScript \fara06253\backburner\scripts\myscript.ms Only assign the job to a machine from the group called "licensed"Ĭ:\Program Files\Autodesk\ 3ds Max 2011\ 3dsmax.exe -U MAXScript The different components on the command line are: C:\Program Files (x86)\Autodesk\Backburner\cmdjob.exe A trained systems administrator should ensure that the execution permissions are properly set and managed. WARNING Special security consideration should be given to the cmdjob utility, as it can execute commands remotely on all the render nodes on the network. If you run cmdjob without parameters it shows you all the parameters that you can use - but it's easier to go to Backburner2011_user_guide and check Advanced Options -> Submitting Jobs from a Command Line or Script (page 70-72).įirst i'll repeat the warning as you really don't want someone to accidentally remove/rename files and folders on all the render farm machines. So now i finally get to the point where i submit this to Backburner and i'll use the cmdjob command for that. It does and there is another box in the scene!
It's time to uncomment the last line and try one more time to verify that 3ds Max actually closes. Seems ok: 3ds Max starts and another box is added. Ok, let's run the same thing from the command line (no need to use double backslashes there): When i evaluate it from within 3ds Max it works and another box gets added at the origin in my scene. The last line is commented out using "-" so i can test this without having to restart 3ds Max all the time.
AUTODESK BACKBURNER SERVER UPDATE
I also create a couple of subfolders (one for scripts, one for scene files), copy across the files to their respective folders and update the script to use the right path (note that you need to use double backslashes in MAXScript): In this second post i'm testing the script and submitting it to Backburner using cmdjob.įirst of all i create a folder on the machine i'm using as the file server, share that and grant permissions (as i want to be able to write back to that folder).