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
    • Unread
    • Recent
    • Tags
    • Users
    • Login
    1. Maxon Developers Forum
    2. ll2pakll
    3. Topics
    L
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 17
    • Best 2
    • Controversial 0
    • Groups 0

    Topics created by ll2pakll

    • L

      The cloner is calculated before the Python tag

      Cinema 4D SDK
      • 2023 python • • ll2pakll
      2
      0
      Votes
      2
      Posts
      502
      Views

      i_mazlovI

      Hi @ll2pakll ,

      Please excuse the delay, your topic somehow slipped from my list.

      I can only speculate here, as you haven't attached a sample scene that highlights your issue.

      The way you describe the problem it looks like a priority issue of the python tag. Please have a look at how the priority works in our documentation: https://help.maxon.net/c4d/2023/en-us/Default.htm#html/TPYTHON-OBASELIST.html#EXPRESSION_PRIORITY

      Also note that it's forbidden to call c4d.EventAdd() (or in reality is just skipped) from the python tag due to multithreading restrictions (c4d.EventAdd() is executed on main thread whilst python tag is executed in a parallel thread):
      9ddbfeab-53dd-49e1-8ded-0a6c3dddba94-image.png

      Cheers,
      Ilia

    • L

      How do you manipulate the points on a spline?

      Cinema 4D SDK
      • 2023 windows python • • ll2pakll
      3
      0
      Votes
      3
      Posts
      506
      Views

      M

      Hi @ll2pakll,

      I am glad that you solved your issue. Message(c4d.MSG_UPDATE) is indeed required to finalize your spline editing. If you want a complete example on spline editing please take a look at geometry_splineobject.py example.

      Cheers,
      Maxime.

    • L

      How to increase the number of calculations in a Python tag?

      Cinema 4D SDK
      • windows python 2023 • • ll2pakll
      4
      0
      Votes
      4
      Posts
      812
      Views

      ferdinandF

      Hey @ll2pakll,

      yes, any kind of simulation/solver is usually quite a bit of work; and as with most things, most of it is pushing data around in a 'clever' way and not the actual algorithm. You might get away with just saturating the system (add frames or "redraws"), but be warned, you will run into more problems with this approach.

      To have a robust solver, you must decouple it from the FPS and scene update events; this is not just a Cinema 4D thing, but universal.

      Cheers,
      Ferdinand

    • L

      Python tag doesn't work when rendering

      Cinema 4D SDK
      • windows 2023 python • • ll2pakll
      6
      0
      Votes
      6
      Posts
      986
      Views

      L

      @ferdinand Your solution of replacing the doc = c4d.documents.GetActiveDocument() line with doc: c4d.documents.BaseDocument = op.GetDocument() really worked. From my point of view, as an ordinary person, your level of understanding of the code seems to be something beyond the realm of possibility. I wish you a good day and thank you again for your help.

    • L

      Time Shift. Python tag.

      Cinema 4D SDK
      • windows python 2023 • • ll2pakll
      3
      0
      Votes
      3
      Posts
      557
      Views

      L

      @ferdinand Thank you very much for your reply. I only need to animate one parameter and I have already written something similar to this parameter cache myself, you saw it in a previous question and advised me to change the location of the cache for more reliability. I will take your advice in the future to avoid reinventing the wheel. Thanks again for your help.

    • L

      Python Xpresso Node

      Cinema 4D SDK
      • windows python 2023 • • ll2pakll
      5
      0
      Votes
      5
      Posts
      1.0k
      Views

      M

      Hi @Brakusha, welcome in plugin cafe !

      c4d.ID_OPERATOR_COFFEE is working in all versions, please open a new topic with a code that demonstrate the issue and with a short explanation about what you want to achieve. I would also highly recommend you to read our Support Guideline to know how to get the best support from us.

      Cheers,
      Maxime.

    • L

      node size

      Cinema 4D SDK
      • python windows 2023 • • ll2pakll
      4
      0
      Votes
      4
      Posts
      783
      Views

      L

      Thank you for the answers.

    • L

      Adding ports to nodes.

      Cinema 4D SDK
      • 2023 python windows • • ll2pakll
      3
      0
      Votes
      3
      Posts
      567
      Views

      L

      @ferdinand said in Adding ports to nodes.:

      DescID

      Thank you so much. I am pleasantly surprised at the level of your responsiveness. When I wrote "Global Data" I accidentally used the wrong word, I meant "Global Coordinates". I have read your links and code very carefully. Actually the concept of DescID is not so much complicated as confusing, the easiest thing would be to have something like an interactive online converter that could show the attributes of the desired objects and their corresponding id. I will try to understand the concept of DescID, deeper. And thank you again for your very detailed answer. Have a nice day.