If you want a list you can copy and paste, paste this code into the Console (Workspace > Console) and press enter:
- Code: Select all
local path_separator = package.config:sub(1, 1)
local project = assert(resolve:GetProjectManager():GetCurrentProject(), "Couldn't get current project")
function get_timespan_display(timespan_in_seconds)
local k = 1
local days = math.floor(timespan_in_seconds / 86400 / k)
local hours = math.floor(math.fmod(timespan_in_seconds / k, 86400) / 3600)
local minutes = math.floor(math.fmod(timespan_in_seconds / k, 3600) / 60)
local seconds = math.floor(math.fmod(timespan_in_seconds / k, 60))
local milliseconds = 1000 * math.fmod(timespan_in_seconds / k, 1)
if (days > 0) then
return string.format("%02d:%02d:%02d:%02d.%03d", days, hours, minutes, seconds, milliseconds)
else
return string.format("%02d:%02d:%02d.%03d", hours, minutes, seconds, milliseconds)
end
end
for _, render_job in ipairs(assert(project:GetRenderJobList(), "No render jobs found for current project")) do
local render_job_status = project:GetRenderJobStatus(render_job.JobId)
if (render_job_status and render_job_status.JobStatus == "Complete" and render_job_status.TimeTakenToRenderInMs ~= nil) then
print(render_job.TargetDir..path_separator..render_job.OutputFilename)
print(string.format("Completed in %s", get_timespan_display(render_job_status.TimeTakenToRenderInMs / 1000.0, false)))
print(string.format("%.2f fps\n", 1000.0 * (render_job.MarkOut + 1 - render_job.MarkIn) / render_job_status.TimeTakenToRenderInMs))
end
end