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

    Easy Way to Set and Get parameter Values

    Cinema 4D SDK
    programming
    3
    5
    654
    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.
    • G
      Gemini
      last edited by

      Hey,
      I need some information how to set and get a specific parameters:

      1. for example here on the render settings
        406825a3-1ade-44ab-a818-d491d4f866af-image.png

      2. On any node.
        1df8e35b-183d-43a9-abff-0167a53a1166-image.png

      3. WHat's the easiest way to get a parameter id ( any object any parm ) ?

      Thanks
      Szabolcs

      gheyretG 1 Reply Last reply Reply Quote 0
      • G
        Gemini
        last edited by

        I meant in python.

        i_mazlovI 1 Reply Last reply Reply Quote 0
        • gheyretG
          gheyret @Gemini
          last edited by

          Hi ! @Gemini ,
          You can simply drag and drop the parameter you want to Script Manager to get or set it.
          Just like this:

          www.boghma.com

          1 Reply Last reply Reply Quote 0
          • i_mazlovI i_mazlov moved this topic from General Talk on
          • i_mazlovI
            i_mazlov @Gemini
            last edited by

            Hi @Gemini,

            In short, @gheyret is correct and the drag&drop feature is mostly used to explore the IDs that stay behind the attributes all across different parts of cinema. You can have a further look into our documentation, namely the Python Console Manual¶ describes this with some details on what to expect to see in the console.

            Please note, knowing the correct ID is often not sufficient and you need to explore more, depending on the context of your attribute. For example, in your case the "Render pass file" is an attribute of the "Octane Renderer" videopost data. This is typically out of scope on this forum. However, this topic was tackled not once, e.g.

            • Dunhou showed some Octane-specific approach
            • Ferdinand showed general approach of accessing render settings

            Cheers,
            Ilia

            MAXON SDK Specialist
            developers.maxon.net

            1 Reply Last reply Reply Quote 0
            • G
              Gemini
              last edited by

              Thanks for your answer.

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