THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/09/2008 at 03:45, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10.5
Platform: Windows ;
Language(s) : C.O.F.F.E.E ; C++ ;
---------
Hi there ..
i tried to create a cube object ...
in coffee the code was :
var cube1 = new(CubeObject);
cube1->SetName("Object");
GetActiveDocument()->InsertObject(cube1,NULL,NULL);
but in VC++ error show up ..
i take a look in the SDK i found this :
static BaseObject* Alloc(ocube)
VC++ gives errors on "ocube" and i'm sure it's right
and this :
BaseObject *GeneratePrimitive(BaseDocument *doc, LONG type, const BaseContainer &bc;, Real lod, Bool isoparm, BaseThread *bt)
but i didn't know the exact parameters ..
So help me please ..