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
    • Recent
    • Tags
    • Users
    • Login

    Reading vray or physical render settings, Python

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 208 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 26/02/2014 at 13:12, xxxxxxxx wrote:

      Hello all,

      I'm, very simply, checking which if any of the vray multi-passes are enabled, but for the life of me I can't figure out how to access anything within the VrayBridge settings.

      Basically: how do you read settings/info within any of the Effects in a RenderData object? (Sketch and Toon, Physical, etc.)

      Thanks a ton!

      Whithers

      (r13)

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

        On 26/02/2014 at 13:31, xxxxxxxx wrote:

        Aaaand I finally got it.

        For anyone else who might search in the future, I went:

        renderData = doc.GetActiveRenderData()

        effect = renderData.GetFirstVideoPost()
        while effect.GetTypeName() != "VrayBridge" ##I haven't tested from here, but you get the idea
        effect = effect.GetNext()

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