THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/04/2004 at 19:43, xxxxxxxx wrote:
Cinema 4D Version: 8.500
Platform: Windows ;
Language(s) : C++ ;
I am trying to change some individual points in a point selection tag. I have a handle to the tag (i know that because it returns the correct name), but when I try and get the individual points, I'm having no luck.
I have searched the forums for info on this basic problem, but no luck so far.
Here's the code I have so far....
BaseTag* mTag = obj->GetTag(Tpointselection,0);
BaseContainer data = mTag->GetData();
Vector mVector = Vector();
id = data.GetIndexId(i++);
mSelection= "mVectorx " + RealToString(mVector.x);
mVector.x += 100;
//redraw the whole scene
This is just test code, to see what works, which is nothing so far.
My test string is just to see what I have, and I always have zero there. Then, when I try and change the x value, it does nothing anyway.
I am completely new to writing plugins, so don't be hard on me, and please help!
Thanks in advance,