Split up a sentence into cloned Text objects
-
Hi!
I'm looking for a setup where I can take a defined string of text and split it up into multiple cloned Text objects.
For example, this string: "A long text that is about this long" would be split up into separate words and distributed on each clone instance in whatever mode I've set the Cloner to. Visible at the same time.How would I go about this?
-
Hi history-growth,
Thanks for opening a new thread about it.
Typically, an Effector is dragged into the Text Object's " Word " field, which affects one word at a time. Since that is procedural, a single access to a word needs more care.
If the target is to have more control over the position and rotation of each word, this would be the option.
If that is the idea, this is the most straightforward setup I can think of.
CV4_20244_drs_24_MGsw_01.c4dIf more is needed, the setup from the other thread needs to be copied and adjusted, which I have done here.
Pulling a single word out is a similar approach, but you want it all simultaneously, so it needs several copies of that setup. With the sentence from above eight.
https://stcineversityprod02.blob.core.windows.net/$web/Cineversity_Forum_Support/2024_PROJECTS_DRS/20240330_CV4_2024_drs_24_MGow_12.c4d.zipHere is a little intro to how to set this up, in case you need more. To create this fast, I have set up Selection Objects, which require the pull of new copies accordingly into the list. (60 sec)
https://stcineversityprod02.blob.core.windows.net/$web/Cineversity_Forum_Support/2024_Clips_DRS/20240330_Splitword-clone.mp4If you need a Python-based setup, check out the Developer Café from Maxon. This forum is not handling it, and for security reasons, no code should be posted here.
All the best
-