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:
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);
var bc = cube->GetContainer();
bc->SetData(PRIM_CUBE_LEN, vector(200, 100, 300));
On 23/01/2003 at 14:12, xxxxxxxx wrote:
In R8 there are specific C.O.F.F.E.E. classes for each primitive. (In this case CubeObject.) Do a search with a hex editor in the exe file for more classes.