I wrote a Python script allowing us to start a rendering job from inside of Maya. First the script creates two sets of *.job files for both Maya and Draft.
Then it uses a familiar to us already “deadlinecommand.exe -Multi -job job_01.job -job -dependantonprevios job_02.job” syntax to launch both jobs (thanks for explaining it a great details in your earlier posts).
Aside from writing down the job files and submitting them to Deadline the script creates and updates Shotgun Version filling its fields with the appropriate values (it happens before the Deadline job starts).
I wonder what syntax we should be using in Draft *.job files to make Draft to be able to read the information about the Deadline job itself when this information (or data) becomes available: such as Deadline Job ID number, average render time and…
The supplied with Deadline Maya-to-Deadline submitter is able to do it. If a rendering job is initiated from within Maya with a “Update Shotgun” option activated Draft (aside from generating a QuickTime movie and uploading it to Shotgun) updates a Version’s Property Page with a Deadline Render job’s summary (which are only available after Deadline finishes a rendering job).
Many thanks in advance!