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

    arguments in gNew [SOLVED]

    SDK Help
    0
    4
    413
    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 20/07/2016 at 01:23, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R15 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hello.

      This is how I call NewObjClear with arguments:

      NewObjClear(MyClassObject, arg1, arg2, arg3);
      

      Can I do the same with gNew for versions prior to R16.

      Thank you very much.

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

        On 21/07/2016 at 02:08, xxxxxxxx wrote:

        Hello,

        it seems that gNew was just a define using the standard "new" operator. So you should be able to use it like the "new" operator. You find an example in the misctest.cpp file.

        Please notice that we cannot give much support for this outdated API.

        Best wishes,
        Sebastian

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

          On 29/07/2016 at 08:07, xxxxxxxx wrote:

          Hello peterakos,

          was your question answered?

          best wishes,
          Sebastian

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

            On 02/08/2016 at 14:16, xxxxxxxx wrote:

            Yes, thank you very much.

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