CINEVERSITY

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

Python Generator main called twice

Question & Answers
developer cafe forwarded
2
4
189
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 Dec 5, 2023, 7:18 PM Nov 22, 2023, 11:40 PM

    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 Nov 23, 2023, 2:48 AM Reply Quote
    • Dr. Sassi
      Dr. Sassi last edited by Nov 22, 2023, 11:54 PM

      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 Nov 23, 2023, 2:48 AM

        Thank you!

        1 Reply Last reply Reply Quote
        • Dr. Sassi
          Dr. Sassi last edited by Nov 23, 2023, 2:52 AM

          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
          1 out of 4
          • First post
            1/4
            Last post