THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/01/2003 at 08:20, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.012
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
---------
I tried this little example from the SDK but I got cube=NULL. What else do I have to do? Tanks.
// Creates a cube that's 200x100x300
var cube = new(PrimitiveObject);
cube->SetPrimitiveType(PRIMITIVE_CUBE);
var bc = cube->GetContainer();
bc->SetData(PRIM_CUBE_LEN, vector(200, 100, 300));
cube->SetContainer(bc);