AWS Thinkbox Discussion Forums

MaxScript: How to submit a batch or V-Ray Standalone job?

Hi guys,

I couldn’t find any documentation on sending a batch job to deadline from maxscript or to send a vray standalone command from maxscript.

Is that possible?

If not, should I go through a python script?

Thanks!

Chris

I’ve never played with it, but the magic is within “[repo]/submission/3dsmax/Main” in “SubmitMaxToDeadline_Functions.ms”. This is a dark art that Mike or Bobo are going to be able to help out with more than I can, so I’ll ask if they have some pointers. I’ll also modify the title to be more eye catching for the MaxScript crowd.

Update: Here are a few other threads that might help out:

forums.thinkboxsoftware.com/vie … 912#p65912
forums.thinkboxsoftware.com/vie … 929#p62929

I haven’t found where we keep the example script referenced in the second thread there, but I’ve gone and asked where I can find more information about it.

Another update:

We have a standalone tutorial here for doing custom submission:
deadline.thinkboxsoftware.com/cu … submission
deadline.thinkboxsoftware.com/su … -maxscript

Can you talk a bit about the batch job you’ll be submitting?

If you’re thinking of submitting stuff trough SMTD that is grouped in the monitor you need this.

SMTDFunctions.CreateSubmitInfoFile YourSubmitInfoFileWithPath batchName: WhatEverBatchNameYouLike

or you need to add it to Submitinfo file you’re creating

format "BatchName=%\n" WhatEverBatchNameYouLike to:submitInfoFile
Privacy | Site terms | Cookie preferences