Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python 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
    • Recent
    • Tags
    • Users
    • Register
    • Login

    Effector Objects written in Python

    Scheduled Pinned Locked Moved Cinema 4D SDK
    python
    3 Posts 2 Posters 22 Views 1 Watching
    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.
    • D Offline
      Dimitris_Derm.
      last edited by

      Is it possible to create a Python Effector plugin or there's only the Python Effector binder for that ?
      I can't find a pure Python Plugin Effector object example.
      I don't know how to make my object be accepted as an Effector on MoGraph generators Effector lists.

      1 Reply Last reply Reply Quote 0
      • D Offline
        Dimitris_Derm.
        last edited by

        I managed to solve this and make the Python Effector look like a plugin. I programmatically add the object, its icon and the script to it. But because it's impossible to add the User Data, I added them manually and then saved the project file containing the Effector object. Then added a simple condition if the scene file is present in the plugin folder merge the object to the current scene, else add the object without the User Data.

        I think this solution is acceptable and elegant to present something as a complete plugin and not as a C4D scene file (usually a demonstration file) as I have encounter so far.

        ferdinandF 1 Reply Last reply Reply Quote 0
        • ferdinandF Offline
          ferdinand @Dimitris_Derm.
          last edited by ferdinand

          Hey @Dimitris_Derm. ,

          no there is currently no dedicated plugin class for MoGraph effectors and fields in Python, only the scripting objects exist at the moment.

          Cheers,
          Ferdinand

          MAXON SDK Specialist
          developers.maxon.net

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