Solved How to get renderer version number by python in C4D R19 ?

If my renderer is Octane Render 3.07 R2
For example:

# -*- coding: utf-8 -*-
import c4d

def test():
    doc = c4d.documents.GetActiveDocument()
    rd = doc.GetActiveRenderData()

    current_renderer_id = rd[c4d.RDATA_RENDERENGINE]
    current_renderer_name = c4d.documents.BaseVideoPost(current_renderer_id ).GetName()\
        if currentRendererID else "Standard"
    
    print "Current Renderer ID:", current_renderer_id  # 1029525
    print "Current Renderer Name:", current_renderer_name  # Octane Render

if __name__ == "__main__":
    test()

Emmmmm......
So, I can get id and name about octane renderer, but how to get version number by python ?

Hi Unfortually we can't help you since we are not bundle to Octane and they can do whatever (and even not exposing the version number). So your best luck will be to reach directly Otoy in their forum.

Cheers,
Maxime.

@m_adam Thank you for your advice.

Hello @артём,

without any further questions, we will consider this topic as solved by Monday, the 25th and flag it accordingly.

Thank you for your understanding,
Ferdinand

MAXON SDK Specialist
developers.maxon.net