Python - Feed text into Motext

Forum for: Modelling, Texturing, Animation, Composting and the whole general usage of Cinema4D.

Moderators: Arkimed, natas, visualtricks, cappellaiomatto

Post Reply
  • Advertising
AltoFlash
Posts: 14
Joined: Thu Mar 15, 2018 6:45 am

Python - Feed text into Motext

Post by AltoFlash »

Hi, I need to have a Motext cycle a list of words, kind of like keyframing the "text" box, but in a more code-y way, so i can tinker with the timings with just a little code edit, instead of dealing with the dope sheet, which can be a little cumbersome.


I thought there might be a neat python script for this, since i've been looking for the way to do it with Xpresso, to no avail.
User avatar
masterzone
Site Admin
Posts: 10352
Joined: Fri Sep 17, 2004 5:34 pm
Location: Verona

Re: Python - Feed text into Motext

Post by masterzone »

I think "Cappellaio Matto" , Matteo from our development plugin staff, can help you. I send a message to him and maybe he will replay to you during free time :)
User avatar
visualtricks
Moderatore
Posts: 3561
Joined: Thu Sep 23, 2004 5:13 pm
Location: Pistoia

Re: Python - Feed text into Motext

Post by visualtricks »

Hi, you'd probably give us more details for a useful answer:
how do you want to control the word change? Should it change automatically? Should it change every frame or you need to control the duration of each word?
Provide some info and/or better tell us what's the main goal, I'm sure we can work something out.

Ps.
I'm thinking you might just achieve the same result with a cloner in Sort mode and a linear effector
  • Advertising
Post Reply