ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
Submitted by tripathisansar on Tue, 2017-05-16 20:12
I am trying to automate the render submitting task from max to deadline. I am struggling to find how to add job dependencies. Any help is greatly appreciated.
Thanks
For job dependencies what i've done so far is adding a line in the job file which is used to submit a deadline job. The line is the following : "JobDependencies= (renderJobID)" where (renderJobID) stances for the Job ID of the job on which depend the job you are submitting. This line needs to be added to the job file created by maxscript when sumitting the job.
I hope it can helps you, if you need some help on doing this, feel free to contact me on scriptspot and we can discuss it more. I'll be glad to help you.
Comments
Hello
Hello, i did it like a few months ago and i can send you some of my code by PM if you need to see how it works.
You can look at this link to find the basic submission code for deadline jobs : http://deadline.thinkboxsoftware.com/custom-maxscript-submission
For job dependencies what i've done so far is adding a line in the job file which is used to submit a deadline job. The line is the following : "JobDependencies= (renderJobID)" where (renderJobID) stances for the Job ID of the job on which depend the job you are submitting. This line needs to be added to the job file created by maxscript when sumitting the job.
I hope it can helps you, if you need some help on doing this, feel free to contact me on scriptspot and we can discuss it more. I'll be glad to help you.