THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/10/2004 at 01:07, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 7.303
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
---------
Hi,
I have created a PolygonSelectionTag and assigned a polygon using the following COFFEE code:
newbs = new(BaseSelect);
newbs->Select(5);
tag = new(PolygonSelectionTag);
tag->SetSelection(newbs);
tag->SetName("Testing");
ObjBeam->InsertTag(tag);
And now I want to get back the polygon number which has been assigned to the PolygonSelectionTag. I am trying like this...
var objTag = obj->GetFirstTag();
if(objTag)
{
if(objTag->GetType()==5673) // ****** IF POLYGONSELECTION TAG
{
println(objTag->GetName());
// ***** HERE I WANT TO GET THE POLYGON NUMBER
Hope someone will help me...