Python version

The default Python version in RR9 applications is Python 3.9.

rrPythonconsole uses 3.9 as well.



RRs python modules are available for Python 2.7, 3.7 and 3.9.

Please use the module SDK\External\Python\rr_python_utils to load the modules.

See our example scripts how to use the utils module.

It chooses the right version for your Python version and caches the modules onto your local machine.
Otherwise network issues can crash your script and RR updates are not possible as long as your script is running.



New Features


Help


  • New SDK help:
    http://www.royalrender.de/help/SDK/

  • In-Script help.
    All python modules, classes and functions contain help information.
    Please see showHelp.py for an example how to print the help in python.



New module pyRR_submit 


We have converted the rrSubmitter into a python module.

Please see example file RR\SDK\External\Python\submit_job.py

  • Submit jobs
  • Check for job status, progress and information



Changes to module pyRR 


  • Client Groups: Retrieve the client groups list from the rrServer.
  • Change Renderer license count



Changes to module pyRR_datafiles

  • HistoryDB: read the HistoryDB files.
  • New functions for stat files to access the data by time range/period.
  • Access to more statistical information in all stat files (Please see SDK help for more details)
    Examples:
    • Client usage per client group
    • TCP traffic in client stats and in per-frame stats
    • Recent Render Time stats 
      For each project, it contains stats of 3d, comp, export and archive jobs that had finished rendering.
      For each "Layer" name, it saves up to 100 jobs.
      (Layer as used in rrControl or rrSubmitter for a job, e.g. "beauty" "background" or "/out/mantra1")
      It saves information like frametime, number of frames, time from submission to finished, RAM usage, client usage