Polygon Info



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 21/07/2006 at 00:30, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   9.0 
    Platform:   Windows  ;   
    Language(s) :     C++  ;

    ---------
    Hello ...

    Is Cinema4D working properly with the Tube object?
    In Cinema4D workspace ...
    When I insert a tube and select polygon 0 ... it shows that A=0,B=1,C=9,D=8 ...
    When I select the points that consists of that polygon ... they are 2, 7, 10 and 15.
    Don't those A,B,C and D mean the points' index of that polygon?
    The following code shows 0,1,9 and 8 as the index ... the real index are 2,7,10 and 15 ...

    BaseObject *obj=GetActiveDocument()->GetActiveObject();
    if(obj)
    {
       PolygonObject *pObj=ToPoly(obj);
       CPolygon *ppObj=pObj->GetPolygon();
       MessageDialog(LongToString(ppObj[0].a)+"---"+LongToString(ppObj[0].b)+"---"+LongToString(ppObj[0].c)+"---"+LongToString(ppObj[0].d));
    }

    So ... how can I know the actual points' index of a polygon?

    With regards
    ZawMinTun



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 21/07/2006 at 11:36, xxxxxxxx wrote:

    That's easy - you are selecting individual points with "Only Select Visible Elements" enabled. There are actually two points at each location. If you use "Rectangle Selection" with the option disabled, you will see both sets of indices are selected in the Structure window.

    Mystery solved. :)



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 23/07/2006 at 20:53, xxxxxxxx wrote:

    I can see clearly now ... ;-)
    Thanks a lot ...

    ZawMinTun


Log in to reply