Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

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

    Cinema 4D SDK
    3
    4
    734
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • А
      Артём
      last edited by

      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 ?

      1 Reply Last reply Reply Quote 0
      • M
        m_adam
        last edited by

        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.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        А 1 Reply Last reply Reply Quote 0
        • А
          Артём @m_adam
          last edited by

          @m_adam Thank you for your advice.

          1 Reply Last reply Reply Quote 0
          • ferdinandF
            ferdinand
            last edited by

            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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post