On 22/02/2018 at 14:40, xxxxxxxx wrote:
Cinema 4D Version: R18
Platform: Mac ;
Language(s) : XPRESSO ;
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.
On 27/02/2018 at 07:21, xxxxxxxx wrote:
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?
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.