CINEVERSITY

  • Recent
  • Popular
  • Users
  • Groups
  • Login
Maxon Logo
  • Login
  • Search
  • Recent
  • Popular
  • Users
  • Groups

Split up a sentence into cloned Text objects

Question & Answers
2
2
479
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
    history-growth last edited by Mar 30, 2024, 10:20 AM

    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?

    1 Reply Last reply Reply Quote
    • Dr. Sassi
      Dr. Sassi last edited by Dr. Sassi Mar 30, 2024, 6:57 PM Mar 30, 2024, 6:36 PM

      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.c4d

      If 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.zip

      Here 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.mp4

      If 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

      Dr. Sassi Sassmannshausen Ph.D.
      Senior Trainer, Maxon Master Trainer, L&D - Strategist
      Cinema 4D mentor since 2004, Member of VES, DCS.

      1 Reply Last reply Reply Quote
      • Referenced by  Dr. Sassi Dr. Sassi Apr 1, 2024, 7:00 PM
      1 out of 2
      • First post
        1/2
        Last post