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. brucek5
    3. Topics
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 13
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by brucek5

    • B

      SetTime() and document updating

      Cinema 4D SDK
      • python r21 • • brucek5
      12
      0
      Votes
      12
      Posts
      2.3k
      Views

      ManuelM

      @brucek5 said in SetTime() and document updating:

      It sounds like 'op' is similar to 'this' in c#

      op is a pre-defined variable. Using a tag to script your python, op point to the tag itself. But using the visual selector, op will point to the object in the link and could be None.

      You can have a look at our manuals page where you will find Python Scripting Nodes that will give information about pre-defined variables for each node where you can use python.

      Cheers,
      Manuel

    • B

      R21 and Python Version

      Cinema 4D SDK
      • r21 python • • brucek5
      2
      0
      Votes
      2
      Posts
      578
      Views

      ferdinandF

      Hey @brucek5,

      Thank you for reaching out to us. The Python interpreter shipped with Cinema 4D is not identical to CPython and it is not intended to be replaced by the user. Technically speaking you could try it, but this would be out of scope of support and will likely also fail. We cannot give instructions on how to do it, you would have to hack your Cinema 4D yourself.

      It also depends on how much you want to change the Python version. Given that you are on R21, i.e., Python 2.7, and likely want to jump to a Python 3.X version, the answer will change from "practically impossible" to "categorically impossible".

      Cheers,
      Ferdinand

    • B

      Joint Orientation Math Challenge

      Cinema 4D SDK
      • r21 python • • brucek5
      9
      0
      Votes
      9
      Posts
      1.4k
      Views

      ManuelM

      hi,

      ho, sorry, so yes that is the correct way to combine matrix.
      ps : I marked my thread as the right answer.

      Cheers,
      Manuel

    • B

      Noise - Keyframe Reduction using Python

      Cinema 4D SDK
      • r21 python • • brucek5
      3
      0
      Votes
      3
      Posts
      608
      Views

      ferdinandF

      Hello @brucek5,

      without any further questions or postings, we will consider this thread as solved by Friday the 4th, February 2022.

      Thank you for your understanding,
      Ferdinand