Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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 get active renderer

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 1.3k Views
    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.
    • H Offline
      Helper
      last edited by

      On 13/08/2018 at 21:52, xxxxxxxx wrote:

      Hi gues, how i may get active renderer name and version if i use redshift or octane?

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        On 13/08/2018 at 22:44, xxxxxxxx wrote:

        I find this. 🙂

        d = documents.GetActiveDocument()
        rd = d.GetActiveRenderData()
        rd[c4d.RDATA_RENDERENGINE]

        But "Render Engine (external renderers pass their plugin ID)".
        Where to see the plugin and id mapping and is it possible to get a renderer version?

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          On 14/08/2018 at 01:21, xxxxxxxx wrote:

          Hi Waynee, first of all, welcome in plugincafe.

          As you figured it out, RDATA_RENDERENGINE store the plugin ID, the usual way to know which render engine is used, is to check this ID.
          You can know such ID if you drag and drop the Render parameter into the console.

          About render version, we can only offer support for Cinema 4D. And we don't have any idea, how 3rd party renders actually store this kind of data. So please directly contact them.

          And finally please make sure to use [ code] [ /code] markdown when you post code on the forum.

          If you have any questions please, let me know 🙂
          Cheers,
          Maxime!

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            On 14/08/2018 at 02:37, xxxxxxxx wrote:

            Hi MaximeA, thx.

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