CINEVERSITY

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

    Matrix Object MoSelection ID drives the "Text Spline" attribute of text object

    Question & Answers
    2
    4
    309
    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.
    • A
      appointment-insect last edited by

      Is there a way to programmatically fill the string of text within the “Text Object (previously MoText)” Text Spline attribute. Specifically, I am needing to make a matrix object’s mograph selection ID(+1) to drive the string value found in the Text Spline attribute. I have created this with a single number in the Text Spline attribute, but can’t figure out how to programmatically change this value. In the end, I am trying to create a 20 sided die.

      D20.c4d

      1 Reply Last reply Reply Quote
      • Dr. Sassi
        Dr. Sassi last edited by Dr. Sassi

        Hi appointment-insect,

        The Cloner will take the Text Object as it is and reproduce it. There is no option to provide each Clone (based on a single Child for that Clone) a different string with the Objects in the MoGraph "kit."

        (Perhaps check out the Maxon Developer's Café if someone has an idea to write code for that. Which is nothing that has a place here in the Q&A forum, hence the special developer forum.)

        Place the Text object as many times under the Cloner as you have different text strings to use.

        Then, use the Modify Clone and define from there where which text is, perhaps with MoGraph Weight. The Weight Tag goes into the Field of the Plain Effector. The Plain Effector is set to Modify Clone to work with the Cloner set to Sort.

        The weight can be brushed on the clones with a fixed target value (Absolute) or with Add to paint several times until you get what you want.

        CV4_2024_drs_24_MGtx_01.c4d

        I have placed some other little things in the file, more as a brainstorming base. Ignore it if it doesn't fit.

        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.

        A 1 Reply Last reply Reply Quote
        • A
          appointment-insect @Dr. Sassi last edited by

          @Dr-Sassi Thank you so much for you swift reply. I will investigate these suggestions. I am also pleased to see that the Maxon Developer's Cafe is a thing. I did not know there was such a thing. Thank you again. (Have you checked your drone for new firmware? My DJI Mavic 2 Pro supposedly has a new Remote ID firmware)

          1 Reply Last reply Reply Quote
          • Dr. Sassi
            Dr. Sassi last edited by

            You're very welcome, appointment-insect!

            The Developer Café is a special forum for people who develop for and with Maxon Products.
            https://developers.maxon.net/forum/

            Off-Topic
            Thanks for asking

            I checked with DJI and got no positive reply or solution for this FAA requirement.
            Besides, the FAA has not replied on how to renew my registration, and no devices are easy to get.

            Weird times. My pilot license also needs a renewal, so I'm more or less "grounded" right now. 😉

            Cheers

            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
            • First post
              Last post