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

    Python Multi License and GeGetSerialInfo()

    Scheduled Pinned Locked Moved SDK Help
    5 Posts 0 Posters 435 Views
    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.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 08/12/2010 at 16:19, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   11.5 
      Platform:      Mac OSX  ; 
      Language(s) :       PYTHON  ;

      ---------
      In the Python SDK, GeGetSerialInfo() has an empty parameter list, however an integer argument is required.

      SERIALINFO_CINEMA4D and SERIALINFO_MULTILICENSE don't work.

      Passing a value of 0 on my single-license system returns a dictionary containing my serial number. For values greater than 0, 'nr' is empty.

      What are the constants for this function and is there an equivalent to SERIALINFO_MULTILICENSE?

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 09/12/2010 at 02:22, xxxxxxxx wrote:

        c4d.GeGetSerialInfo(c4d.SERIALINFO_CINEMA4D) works here out of the box. c4d.SERIALINFO_CINEMA4D is a constant for 0, so it should work.

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 09/12/2010 at 05:11, xxxxxxxx wrote:

          Thanks Sebastian, that works.

          c4d.SERIALINFO_MULTILICENSE also works, so can I safely assume that this returns the mult-license serial? I'm not able to confirm this by testing on a license server.

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 09/12/2010 at 06:09, xxxxxxxx wrote:

            Yes, it does. You can also check several threads out here on PluginCafe.com. There are a lot of ressources on this topic.

            1 Reply Last reply Reply Quote 0
            • H Offline
              Helper
              last edited by

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 09/12/2010 at 14:00, xxxxxxxx wrote:

              Thanks, I just needed to confirm the operation of the Python function. There's plenty of information in the C++ threads to take it from here.

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