On 27/06/2013 at 10:39, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R14
Platform: Windows ;
Language(s) : C++ ;
---------
Hi Folks,
I've got myself a dialog spline gui, but I'm a bit lost as to where to put/add the data for it. Is this done in the GetDDescription()? And can the data be added or dynamically changed from elsewhere (another function)?
EDIT: this is what I tried inside the GetDDesctipion() :
SplineData* sData;
sData->Alloc();
sData->InsertKnot(0,0,0);
sData->InsertKnot(1,1,0);
MySpline->SetSpline(sData); // MySpline is the customgui element
MySpline->Redraw();
sData = NULL;
GeFree(sData);
WP.