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
    • 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. Smolak
    3. Topics
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by Smolak

    • S

      Changing OCIO View Transform doesn't work using Python

      Cinema 4D SDK
      • python 2025 • • Smolak
      4
      0
      Votes
      4
      Posts
      516
      Views

      ferdinandF

      Hey @Smolak,

      I understood what you wanted to do, but it is still not possible. First of all, the OCIO color space enum values are dynamically assigned, i.e., the value 3 might not always mean the same space. In the OCIO API there are special conversion functions for that, but you could also do that manually by parsing the description of the document.

      But you will never be able to apply such value then, because to do that, you have to call BaseDocument::UpdateOcioColorSpaces which does not exist in Python (yet). See the C++ Docs for an example.

      Cheers,
      Ferdinand

    • S

      Interaction Tag - def message seems to not work

      Cinema 4D SDK
      • • • Smolak
      4
      0
      Votes
      4
      Posts
      558
      Views

      ferdinandF

      Hey @Smolak,

      You must expose the ID as explained in the posting and shown in the second code listing. Forgot to do it in the second one. I have updated the listing.

      Cheers,
      Ferdinand