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
    • Login
    1. Maxon Developers Forum
    2. Simon Lucas
    3. Posts
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    Posts

    Recent Best Controversial
    • Adjust spline layers settings in Field Force Objects with Python?

      In r25, using Python, I am automating the set up of many objects in a scene, that use and link together Emitters, Spline, Field Forces, and Turbulance Objects

      So far I have acheived all I need to do, but I have become quite stuck when it comes to configuring Spline layers in the Field Forces.

      I have been reading the Python SDK manual on Field LIsts, Field Layers, and have found a helpful example in the forum where a Spline can be added to a deformer using Python - that helped me to get started:

      https://developers.maxon.net/forum/topic/14745/add-remove-modify-fieldlist-with-python/3?_=1763568090346

      I have used that to add splines to Field Force Objects - both under Object tab's field list and under the Fields tab's list. And am able to adjust things like Velocity type, and Strength.

      But I now need to adjust the settings on the Spline Field Layers under the Object tab.

      Eg.
      a. Direction->Length and Direction->Invert
      b. Layer-> DIstance Mode
      and also
      c. And access the Remapping settings on the Spline Layer in the Fields tab.

      This is my first post here and I hope I have described this well enough to ask the question. I cannot find any example that deals with this, or even know whether it is possible with Python.

      posted in Cinema 4D SDK r25 python
      S
      Simon Lucas