CINEVERSITY

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

    question on formula id

    Question & Answers
    2
    6
    53
    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
      Hoi last edited by

      Hi,

      how do I select more than one id in the formula modifier? For example id=0 , how do I add another value to select another cloner, I try id=0and3. It didn't select cloner id 0 and 3. Thank you.

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

        Hi Hoi,

        try this:

        ?(id=0;1;(?(id=3;1;0)))

        If id is 0 then use one, otherwise, if id is 3, then use one, if not it is zero.

        And wouldn't help, as it would require 0 and 3 to be evaluated at the same time.

        I hope that helps

        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
        • H
          Hoi last edited by

          Hi, that works, the other workaround i found is to add another formula on top to select a different id.
          Appreciate the quick solution as always 🙂

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

            Thank you, Hoi, 🙂

            Yes, extra Effectors work as well, but if you need more, and perhaps add Fields, then it gets quite complex.

            Another option would be

            (id=0) or (id=3)

            (id=0) || (id=3)

            Perhaps easier, the one I initially mentioned is my favorite, as it has the option to define any value, not just 1, meaning 100% effector use of the values, and that for each "id" then.

            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
            • H
              Hoi last edited by

              Thanks for all the options! I have to save them all on my formula presets 🙂

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

                Thank you very much for taking the time to reply 🙂 , Hoi.

                You're very welcome!

                Enjoy your project

                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