Get absolute number of rendered frames of a job

3 views
Skip to first unread message

Nico Rehberg

unread,
Mar 26, 2026, 4:46:51 AM (8 days ago) Mar 26
to Royal Render Knights Tavern
Hi,
I am using the python sdk to collect some infos about our jobs after they are finished.

I am querying framesTotalNonMulti but am noticing that this does not return the correct number of frames for framesets. 
i.e. my frameset is 1001, 1012, 1024 and framesTotalNonMulti returns 24.
Is that correct behaviour?
RR 9.1.23

Thanks, Nico

RR, Schoenberger

unread,
Mar 26, 2026, 5:14:21 AM (8 days ago) Mar 26
to rrKn...@googlegroups.com

Hi


You can use job.
framesTotal_FrameSetOnly:

https://www.royalrender.de/help/SDK/sdk/python_reference/rrJob_classes.html#rrJob._JobInfo.framesTotal_FrameSetOnly

 

If the jobs are finished, you can use infoTotal_FramesReturned
Or if you want to take re-render into account .
infoTotal_FramesReturned_disobeyReset
Those should take into account if someone has removed a frame from the frameset during render.


 

regards,
Holger Schönberger

Craftsman and Keeper of the Royal Render Flame

Please use the rrKnights Tavern
or our support system for new questions.

 

RR, Schoenberger

unread,
Mar 26, 2026, 5:16:20 AM (8 days ago) Mar 26
to rrKn...@googlegroups.com

PS:

You can take a look into rrControl for the FramesReturned values if they fit your requirements:

image001.png

Nico Rehberg

unread,
Mar 26, 2026, 5:29:32 AM (8 days ago) Mar 26
to Royal Render Knights Tavern
Thanks, I will give it a try.

One other thing while we are here: I am interested to get the server job log when collecting the statistics. I used to be able to get this from the "log_job.htm" file that was created for the website representation for the server.
I am basically interested in this table:
ksnip_20260326-102530.png
Is there a way to query this through the sdk? The rrJobInfo seems to focus more on the individual client logs, but I'd prefer to get this generalized overview.

Nico

RR, Schoenberger

unread,
Mar 26, 2026, 6:03:26 AM (8 days ago) Mar 26
to rrKn...@googlegroups.com

Hi

 

The server log is available via  job.logCount with job.getLog()

The data format it this class:

https://www.royalrender.de/help/SDK/sdk/python_reference/rrJob_classes.html#rrJob._Log

 

 

 

Note that you can access the “Frame Log” as well.

If you want to know which machine has rendered the final frame (re-renders are overwritten) with which render time/stats.

But this info is not part of the job, it is an extra file client_rendered.db in rrJobData

Job.jobFilesFolderName_Resolved()+”client_rendered.db”

 

It requires the module libpyRR39_datafiles.
class libpyRR39_datafiles._frameStatJob

https://www.royalrender.de/help/SDK/sdk/python_reference/libpyRR_datafiles_classes.html#framestatjob

 

 

 

And if you want to parse the client render log, please take a look at
RR\render_apps\_prepost_scripts\additional\Finished99__CollectRenderLogs.py
It is a post-script to add an info to the job once it is finished.
But you can use the source anywhere.

Reply all
Reply to author
Forward
0 new messages