Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Polygon Info

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 302 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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. 🙂

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post