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

    Automate name of TAKE driven by TEXT

    SDK Help
    0
    3
    625
    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
      Helper
      last edited by

      On 22/02/2018 at 14:40, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R18 
      Platform:    Mac  ;  
      Language(s) :      XPRESSO  ;

      ---------
      Hello,

      I am attempting to automate the name of my Takes by the text a MoText or Text Spline contain. 
      Currently, I can set driver/driven to name a Take the contents of a MoText object, but once I duplicate a take, it breaks the cycle. The original Take will change its name to match current text, but the new Take does not.

      Is there a way to duplicate a Take, and that new Take reads the updated text, but the original take only reads the text that was previously created?

      Thank You! I can further explain if I'm not making sense.

      Matt

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

        On 27/02/2018 at 07:21, xxxxxxxx wrote:

        Hi Matt,

        welcome to the Plugin Café forums Smile

        Not hundred percent sure, I have understood your scenario. In my own words, you want to have every take (well, at least multiple) named after the text of a MoText object. And the text of the MoText is overridden inside of each take, right?

        That's not easily possible with Xpresso (if at all). The problem is, Xpresso will always read the currently active value of a parameter. And the other issue you already found, the Xpresso connection won't automatically "follow" if a new take is created.

        One could achieve something like this (renaming all takes with the overridden value of a MoText) via a script. But that would need to be executed after each change of the MoText, probably not what you want in the end.

        May I ask if Python scripting is an option for you?

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

          On 27/02/2018 at 10:49, xxxxxxxx wrote:

          Thank You, Andreas.

          That is what I had feared. Its unfortunate that a Take can not adapt like a MoText object can using Xpresso. I am not knowledgeable in Python, but if that is the way to achieve what I am going for, I will roll up my sleeves and get to it.

          Thanks again, 
          Matt

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