Python - Feed text into Motext

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

Moderatori: natas, Arkimed, visualtricks, cappellaiomatto

Rispondi
  • Advertising
AltoFlash
Messaggi: 10
Iscritto il: gio mar 15, 2018 6:45 am

Python - Feed text into Motext

Messaggio da 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.

Avatar utente
masterzone
Site Admin
Messaggi: 9460
Iscritto il: ven set 17, 2004 5:34 pm
Località: Verona

Re: Python - Feed text into Motext

Messaggio da 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 :)

Avatar utente
visualtricks
Moderatore
Messaggi: 3538
Iscritto il: gio set 23, 2004 5:13 pm
Località: Pistoia

Re: Python - Feed text into Motext

Messaggio da 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
Rispondi