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

    Checking for NetRender and TeamRender

    SDK Help
    0
    4
    323
    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
      Helper
      last edited by

      On 28/06/2014 at 14:17, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   14 
      Platform:      Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      My plugins are protected by checking for a registration file.
      However, I don't need (or should) check for that registration file if the plugin is being loaded in a client machine.
      How can I check if the machine is a client machine for NetRender or TeamRender?

      I believe that, for NetRender (versions prior to R15) it is something like this:

      if (GeGetVersionType() & VERSIONTYPE_NET_CLIENT) client = TRUE;

      But will this also work for R15 TeamRender?
      If not, how to check if my plugin is being loaded in version 15 (and up) and if it is a client machine?

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

        On 30/06/2014 at 07:51, xxxxxxxx wrote:

        Would a simple

          
        if (IsNet())...   
        

        be enough? And would it work for R14 and R15?

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

          On 30/06/2014 at 09:08, xxxxxxxx wrote:

          Using IsNet() is enough, returns True in Team- and NET Render.

          Best,
          -Niklas

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

            On 30/06/2014 at 09:13, xxxxxxxx wrote:

            GREAT!! 🙂
            Thank you.

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