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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Python Effector with custom FieldList

    Cinema 4D SDK
    python 2024
    2
    3
    516
    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.
    • bacaB
      baca
      last edited by

      Hi,

      I'm developing Python Effector which will have FieldList parameter (separate of the default one).

      Since Cinema 2024 introduced some optimizations, Python Effector is not being automatically executed, once any of Field objects related to custom FieldsList object are updated in the document.

      I suppose there's no CheckDirty() method for Python Effector to check FieldList dirtyness.
      What would be the approach to force Effector update?

      Rough sample: py_effector_with_custom_field.c4d
      Just drag Spherical Field left to right with the mouse device.
      Here left Matrix with Python Effector where Field is attached to custom FieldList — doesn't updating,
      but right Matrix with Python Effector where Field is attached to default FieldList — does

      1 Reply Last reply Reply Quote 0
      • bacaB
        baca
        last edited by

        Any inputs?..

        1 Reply Last reply Reply Quote 0
        • M
          m_adam
          last edited by

          Hi @baca, this is unfortunately not possible there is some default CheckDirty in place to support the default FiledList, but since you can not override CheckDirty in an effector yourself you can't add another FieldList dependency check.

          Cheers
          Maxime.

          MAXON SDK Specialist

          Development Blog, MAXON Registered Developer

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