The JobInfo and plugininfo can be found on an already submitted job for the type you want to submit.
In the monitor , select a job’s properties, then select submission params. this is all the info needed to submit a job of that type.
Yeah i already setup deadline and the API. I am correctly trying to create a job on python to send to the machine. So the best way to do it on python is to make a dict with with all the job information and then submit the jobinfo/plugininfo like that example on the docs ?
It is indeed one of many ways you can interact with Deadline via its various entry points. Can you provide more context here on what exactly you are trying to achieve? If it helps, this recent blog post provides a good overview of our entry points: deadline.thinkboxsoftware.com/fe … -code-here
I was seeing if there are other ways i can make a job on the python API. I am currently making a deadline class that builds the jobs before it gets submitted into the farm. What i have is i would gather all the farm job data into a ‘job dictionary’ and from there submit the job to the farm. I was wondering if this was the most optimal way to write this program.
What you are describing is in a nutshell how we work.
We have some default templates for job types and then submit a template with whatever overrides that job requires.
Thanks for all the help! I set up that so far. What I’m asking is when I open up /deadlineRepository/scripts the files in there will import in
From deadline.scripting import *
And I cant seem to find that in the api I installed
No, this will not work. The plugins/scripts stored in the directories under the Deadline repo all (except the ‘api’ directory) require to be executed within the environment of Deadline and it’s built-in “Python Scripting API”, which is NOT the same as our offered “Standalone Python API”. If you wish to use our scripts or Python modules (which technically aren’t modules but rather namespaces anyway) such as:
from Deadline.Scripting import *
from Deadline.Jobs import *
then you will need to execute your script/plugin/event, etc from within the context of the Deadline environment via one of our applications or via our command-line tool:
So right now our render farm is set up with Qube! and I am trying to set up Deadline as a possible replacement. In our farm engine, here are the qube! parameters we use.
I recently finished up on a project to help another customer with the same questions. Do you want to submit a support ticket and we can continue the conversation there so we can provide more direct support if required? support.thinkboxsoftware.com/ or via email: support [@] thinkboxsoftware [dot] com