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

    Get render output per python script?

    Scheduled Pinned Locked Moved PYTHON Development
    5 Posts 0 Posters 459 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 12/03/2013 at 06:47, xxxxxxxx wrote:

      Hi

      I need to get the output path via a python script.
      It works for basic renders, but it does not work for passes nor stereo rendering.
      The main issue is that Cinema4D localizes all names for each language.
      E.g. Stereo EN:Stream-Left   DE: Kanal-Links.
      Same for the pass names.
      How do I get the output names via a python script?

      Or is is at least possible to get the language name/ID currently used?

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

        On 12/03/2013 at 08:14, xxxxxxxx wrote:

        you are reading the path from a renderdata instance ? i never used stero rendering, but why
        don't you simply look for this basepath. the files you will find in this dir containing this basepath
        will be your ouput files.

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

          On 12/03/2013 at 10:21, xxxxxxxx wrote:

          Hi

          I need the name BEFORE the files are rendered.
          And the files are often spread between different folders if you render passes and stereo.

          And even if I would be able to check after the rendering, how would I even know which files in the output folder are from the current render and not from a different one?

          So, I need the localized names for stereo and passes.

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

            On 12/03/2013 at 10:59, xxxxxxxx wrote:

            you should keep in mind that we are not obligated to help you.
            you can determine the active language with GeGetLanguage
            and the index in the worldsettings gelistnode.

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

              On 12/03/2013 at 12:18, xxxxxxxx wrote:

              Hi

              Thanks, I will try to use the current language and try to get a list by either the customers.
              Otherwise I will try to parse the Cinema Program Files to get the localized names.
              The names have to be in some file.

              I know that you are not obligated ot help me. This is a free forum.
              But I a lot of customers with about 100+ Cinema Licenses which need this.
              (The latest number of licenses will hopefully arrive next week)
              And there is no way to get paid support from MAXON for this (already tried just before I wrote here).

              thanks,

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