arguments in gNew [SOLVED]

On 20/07/2016 at 01:23, xxxxxxxx wrote:

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


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.

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


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,

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

Hello peterakos,

was your question answered?

best wishes,

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

Yes, thank you very much.