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

    Demo plugins need to now R11DEMO version

    Scheduled Pinned Locked Moved SDK Help
    10 Posts 0 Posters 834 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 28/08/2008 at 13:05, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R11 DEMO 
      Platform:   Windows  ;   Mac OSX  ; 
      Language(s) :   C.O.F.F.E.E  ;

      ---------
      Hi.
      By Todays first update of R11 DEMO, the version is not longer
      the same as R10 DEMO.

      By printing out;
      var version = GeGetVersionType();

      I now get version 4739.

      Can we assume that this will be the version number of R11 DEMO,
      or will it change for each update.
      -And- will it change if the user register for a 42 save enabled version?

      Cheers
      Lennart

      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 01/09/2008 at 10:59, xxxxxxxx wrote:

        Any input on this, please.

        Cheers
        Lennart

        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 01/09/2008 at 11:58, xxxxxxxx wrote:

          Please check for VERSION_SAVABLEDEMO.

          cheers,
          Matthias

          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 01/09/2008 at 14:38, xxxxxxxx wrote:

            Just a little correction, please check for VERSION_SAVABLEDEMO and VERSION_SAVABLEDEMO_ACTIVE.

            cheers,
            Matthias

            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 01/09/2008 at 14:57, xxxxxxxx wrote:

              Thanks Matthias.

              So will:

              > if(GeGetVersionType()&VERSION;\_SAVABLEDEMO) \> println("VERSION_SAVABLEDEMO");

              be enough or will I need

              > if(GeGetVersionType()&VERSION;\_SAVABLEDEMO_ACTIVE) \> println("VERSION_SAVABLEDEMO_ACTIVE");

              ..as well for a activated DEMO? (The 42 days saveable one)

              Cheers
              Lennart

              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 01/09/2008 at 14:58, xxxxxxxx wrote:

                Ops, missed your last postbefore asking:)

                Thanks
                Lennart

                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 04/09/2008 at 19:22, xxxxxxxx wrote:

                  So, do you just check like this?:

                  if (GeGetVersionType()&(VERSION_SAVABLEDEMO|VERSION_SAVABLEDEMO_ACTIVE)) ...

                  Thanks!

                  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 05/09/2008 at 02:05, xxxxxxxx wrote:

                    Atm, I run them separate, as in my post above as I wasn't sure about
                    using a "or" (single beam, " | ") inside a bitwise check:)

                    I'm also not sure how to make it work for R10 (within the same plugin)
                    as the "SAVABLEDEMO_ACTIVE" and "SAVABLEDEMO" are not defined in R10.
                    (I like to have the plugin to load in R10 and R11)
                    In pre R11 only "VERSION_DEMO" is defined.
                    Would the numeric values as seen below be safe enough?

                    > \> #define VERSION_CINEMA4D                              (1<<0) \> \> #define VERSION_BODYPAINT                              (1<<1) \> \> #define VERSION_NET                                        (1<<2) \> \> #define VERSION_SERVER                                   (1<<3) \> \> #define VERSION_DEMO                                        (1<<4) \> \> #define VERSION_BENCHMARK                              (1<<6) \> \> #define VERSION_BODYPAINT2_EX                    (1<<7) \> \> #define VERSION_MODELER                                   (1<<8) \> \> // 1<<9 somehow used in GeGetVersionTypeSDK \> \> #define VERSION_BPSTANDALONE                    (1<<10) \> \> #define VERSION_UPDATER                                   (1<<11) \> \> #define VERSION_SAVABLEDEMO                         (1<<12) \> \> #define VERSION_SAVABLEDEMO_ACTIVE     (1<<13) \>

                    Cheers
                    Lennart

                    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 05/09/2008 at 08:36, xxxxxxxx wrote:

                      I use preprocessor directives to distinguish builds for different Cinema 4D versions (inclusive). So, for this, I'm doing this (is working!) :

                      >      BOOL     network =     FALSE; \>      LONG     vtype =          GeGetVersionType(); \>      if ((vtype & VERSION_SERVER) || (vtype & VERSION_NET))     network = TRUE; \> #ifdef     C4D_R11 \>      if (!((vtype & VERSION_DEMO) || (vtype & VERSION_SAVABLEDEMO|VERSION_SAVABLEDEMO_ACTIVE) || network)) \>      { \>           // serial number check \>           if (!(ippSerial && ippSerial->registered)) return FALSE; \>      } \> #else \>      if (!((vtype & VERSION_DEMO) || network)) \>      { \>           // serial number check \>           if (!(ippSerial && ippSerial->registered)) return FALSE; \>      } \> #endif

                      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 08/09/2008 at 02:24, xxxxxxxx wrote:

                        Quote: So, do you just check like this?:
                        >
                        > * * *
                        >
                        >
                        > if (GeGetVersionType() & VERSION_SAVABLEDEMO|VERSION_SAVABLEDEMO_ACTIVE))
                        >
                        > * * *

                        Yes, VERSION_SAVABLEDEMO is just the demo and VERSION_SAVABLEDEMO_ACTIVE is the activated demo.

                        cheers,
                        Matthias

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