R3ObjectCreate
void *R3ObjectCreate(int classid, ...);
classid - class identifier
Address of the created object if succeeded, otherwise NULL
Creates an instance of given class. The created instance (object) is initialized according to the attributes passed to a function as a tag list.
sphere = R3ObjectCreate(R3CLID_SPHERE, R3RA_Name, "mysphere", R3SPHA_Center, ¢er, R3SPHA_Radius, &radius, R3TAG_END);