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

    Cloning/copying render-data without inheritance

    Scheduled Pinned Locked Moved PYTHON Development
    6 Posts 0 Posters 728 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 11/05/2017 at 00:28, xxxxxxxx wrote:

      Hey guys.

      I'm trying a little bit to automate some render-settings and takes. And I stumbled upon the inheritance behaviour of render-data. Is there a way in python to active or deactive inheritance in specific attributes of the render-data (for example I need to activate the inheritance on the frame range in the output panel)? I didn't find anything about it in the SDK 😞

      Thanks and cheers,
      Phil

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

        On 11/05/2017 at 01:55, xxxxxxxx wrote:

        Take a look at this thread for inserting render data
        https://developers.maxon.net/forum/topic/9898/13335_solvedcreate-new-renderdata&KW=

        About take system which is global and can work on everything. Take a look at
        https://github.com/PluginCafe/cinema4d_py_sdk/tree/master/scripts/takesystem
        https://developers.maxon.net/docs/py/2023_2/modules/c4d.modules/takesystem/index.html?highlight=takes#module-c4d.modules.takesystem

        And the C++ manual (maybe read this one firstly)
        https://developers.maxon.net/docs/cpp/2023_2/page_overview_takesystem.html
        https://developers.maxon.net/docs/cpp/2023_2/page_manual_takedata.html#page_manual_takedata_takes_create

        If you have any others question feel free to ask

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

          On 11/05/2017 at 03:19, xxxxxxxx wrote:

          Thanks for the helpful links, sadly I can't find anything concering the inheritance problem 😞

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

            On 15/05/2017 at 09:49, xxxxxxxx wrote:

            Hi 3Dpebble,

            welcome to the Plugin Café forums 🙂

            Unfortunately I have no good news for you. The inheritance is handled internally and can not be accessed via the API. Sorry.

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

              On 15/05/2017 at 23:44, xxxxxxxx wrote:

              Hi Andreas,

              that's a pity, but thank you very much for the info.

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

                On 16/05/2017 at 00:49, xxxxxxxx wrote:

                A workaround can be to register your own MessageData plugin. Catch EVMSG_TAKECHANGED and then found your take. Get the parent take value. And assign value to your take where BaseOverride is not set.

                Remember a BaseTake is a BaseList2D, so it's mean he get a BaseContainer. So you can store data into this BaseContainer for identifying your take.

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