THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/03/2005 at 03:32, xxxxxxxx wrote:
Cinema 4D Version:
Language(s) : C.O.F.F.E.E ;
Hello to all !!
how i can read point position of one saved point selection (set selection)?
How i can read the mirror axis of the simmetry object?
Tnx in advance for the answer !
On 24/03/2005 at 10:32, xxxxxxxx wrote:
First get the first tag.
Then get through all tags with GetNext() and check if it is a PointSelectionTag.
Sth like (pseudocode) :
var found = FALSE;
var tag = obj->GetFirstTag(); if(!tag) return;
while(tag!=NULL) //or tag!=DA_NIL
found = TRUE;
tag = tag->GetNext();
if found is true, the tag is a pointselection tag. you can now get the selected points and go through the point array.
var sel = tag->GetSelection(); if(!sel) return;
for (i = 0; i < obj->GetPointCount(); i++)
//This is the point position
var p = obj->GetPoint(i);
var m = obj->GetMg();
var m_axis = m->GetV0();
On 25/03/2005 at 00:02, xxxxxxxx wrote:
Tnx to all Katachi !! :))