CINEVERSITY

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

    Python Generator main called twice

    Question & Answers
    developer cafe forwarded
    2
    4
    188
    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.
    • R
      replacement-fun last edited by Dr. Sassi

      Hey colleagues,

      Just getting my head around the python generator. I want to create a bunch of splines to animate.

      Two questions:

      What event triggers the def main() -> c4d.BaseObject: function?
      Why does it get called twice when triggered?

      Many thanks
      Andrew

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

        Hi Andrew,

        Please check with the Developer Café.
        https://developers.maxon.net/?page_id=1114

        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
        • R
          replacement-fun @replacement-fun last edited by

          Thank you!

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

            You're very welcome, Andrew,

            I hope someone is around during our Holiday and can give you the information you want.

            My best wishes

            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