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

    Registering tokens in python

    Cinema 4D SDK
    windows python r20
    3
    4
    792
    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.
    • B
      Boony2000
      last edited by

      Hi!

      I saw a two year old post that mentioned there was a possibility of getting functionality for registering custom tokens in python. Has anything happened with that over the last years or is that still only possible in C++?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • r_giganteR
        r_gigante
        last edited by r_gigante

        Hi Boony2000, thanks for reaching out us.

        With regard to your request, I'm sorry to confirm that still registering tokens in Token System Library is unsupported on Python side.

        Although it's already under our radar, I can't confirm when it will be available on Python API.

        Best, Riccardo

        1 Reply Last reply Reply Quote 2
        • L
          line6dude
          last edited by

          Hi,

          Thanks for the reply. We are really desperate for this feature as well, as although I understand the python API pretty well, I've never coded in C++ before.

          I see there is an example token registration plugin in the c++ documentation. Since I've never had to compile anything before, how 'complete' is this example, and how hard would it be to implement for a beginner?

          I'd love the ability to read in an environment variable (eg. a job directory path), and set it as eg. $JOBDIR token, on launch so that it could be used in all of our pipeline tools, without having to hardcode anything. Doable for a noob?

          Cheers.

          1 Reply Last reply Reply Quote 0
          • r_giganteR
            r_gigante
            last edited by

            Hi line6dude, thanks for following up.

            With regard to registering Tokens in c++, given that it's not a complex task, requires at least a minimum background of C++, familiarity with Xcode (or VisualStudio) and understanding of our Cinema 4D tool-chain.
            If you feel comfortable in becoming familiar with such concepts, please open a new thread to tackle the argument.

            Best, Riccardo

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