Path to written frames

Discussion and Support of Deadline, the Render Management System
spearsc
Posts: 40
Joined: Tue Nov 29, 2016 5:23 pm

Path to written frames

Postby spearsc » Fri Sep 08, 2017 7:54 pm

Do you know how to get the location of the frames created by a render? In this case, I am dealing with a Maya render.

For some reason JobOutputFileNames is coming back empty:

Code: Select all

outputFiles = list(job.JobOutputFileNames)
print "Output files %s" % outputFiles


JobFrames and JobFramesList do not return paths.

You can get the output directory (or directories).

Code: Select all

outputDirs = list(job.JobOutputDirectories)
print outputDirs


This returns the value in the Output Folder field, which is a path to the images folder. Unfortunately, the frames are located in a folder inside of 'images'. I can probably query the Maya scene file, but I am hoping that to avoid that.

eamsler
Posts: 1666
Joined: Thu Dec 16, 2010 1:02 pm
Location: Winnipeg, MB, Canada

Re: Path to written frames

Postby eamsler » Mon Sep 11, 2017 1:00 pm

Well, *ideally* the job properties have the output paths since that's what drives things such as Draft and the 'View Output' in the Monitor. The overrides that we use in the Maya plugin should actually live in the PluginInfo section. Here's an example from one of my Maya jobs:

2017-09-11 12_59_40-support-01 - Remote Desktop Connection.png
2017-09-11 12_59_40-support-01 - Remote Desktop Connection.png (57.99 KiB) Viewed 19 times


Use GetPluginInfo* to get at those:
https://docs.thinkboxsoftware.com/produ ... 23b880f02d
Edwin Amsler
Head of Support
Thinkbox Software Inc
+1-866-419-0283 ext 804

Winnipeg

spearsc
Posts: 40
Joined: Tue Nov 29, 2016 5:23 pm

Re: Path to written frames

Postby spearsc » Mon Sep 11, 2017 1:07 pm

Nice. I will take a look.

Was that job submitted from within Maya or through the monitor? Right now, we have our artists working through the monitor. It's a user experience they are used to.


Return to “Thinkbox Software - Deadline”

Who is online

Users browsing this forum: No registered users and 1 guest