Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Python Generator does not update when children are edited

    Cinema 4D SDK
    1
    2
    410
    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.
    • M
      Matt_B
      last edited by

      I have a Python generator with a child object (in Object Manager).

      When I move/scale/rotate the child object, the Python generator code does not run, and so the display becomes stale. I have to change the generator's User Data to get it to recalculate.

      I tried using message() but that did not help, even for all mid's.

      How can I make sure the generator code runs when its children have been edited?

      M 1 Reply Last reply Reply Quote 0
      • M
        Matt_B @Matt_B
        last edited by

        I just figured out the answer - I needed to disable "Optimize Cache" on the generator's Object tab.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post