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

    Output all renderpaths

    Cinema 4D SDK
    r20 r21 windows python
    2
    3
    554
    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.
    • B
      Boony2000
      last edited by

      Hi!

      Is there a way to output all renderpaths? Perhaps via the token system?

      I tried setting up the token system to get to the render paths, but it seems to me, like it is basically the same as building your own string replacement. You still have to manually input all the relevant stuff in to the dictionary, am I wrong?
      If only something like $take is used that might be handy, but if you are e.g. trying to output all paths that have tokens like $take, $pass and $frame and you have to cycle through them manually changing the values in the dictionary then that's not really more practical than just searching for the token string and replacing it.

      Am I missing some great functionality of the token system that would allow me to just print all the render output paths?

      Thanks!

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

        Hi @Boony2000 just to be sure of what you are currently talking about. If in the render setting there is the token $frame you want to retrieve path/01, path/02..... etc and all according to all frame that will be rendered? Is it correct?

        If it's that tokens are context-specific which means is the things that use the token that pass the arguments (see StringConvertTokens)

        So it's not possible to have all the files the output a token will generate because it's up to the context (it might be the render manager but could be a generator as well) to define the RenderPathData.

        However, I have opened a feature request.
        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • B
          Boony2000
          last edited by

          Thanks Maxime!

          In the mean time I will cycle through takes, AOVs and Frames manually to get the paths.

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