On 23/01/2014 at 15:12, xxxxxxxx wrote:
Cinema 4D Version: 14
Platform: Mac ;
I'm a little confused about how subdescriptions are stored and how I can get access to them. I'm pretty familiar with how Descriptions work and how to access the different parameters within them, I think.
AutoAlloc<Description> desc; if (!desc) return TRUE; const BaseContainer* desccontainer; if (!obj->GetDescription(desc, DESCFLAGS_DESC_0)) return TRUE; desccontainer = desc->GetParameterI(PRIM_CUBE_LEN,NULL);
But I'm having trouble with accessing the elements beneath them. So for example with the Size parameter of a cube, how would I get the description of the x,y, or z parts of the vector?