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
    • Recent
    • Tags
    • Users
    • Login

    Deleting points from PolygonObject

    Scheduled Pinned Locked Moved SDK Help
    6 Posts 0 Posters 405 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 11/05/2009 at 06:49, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   10.1/11 
      Platform:   Windows  ;   Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      Hi,

      just a little question this time 😉

      When I delete points from a PolygonObject, do I have to delete obsolete Polygons myself, too? Or are they automatically removed from the polygon array?

      Greetings,
      Jack

      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 12/05/2009 at 02:51, xxxxxxxx wrote:

        i cant answer your question, but maybe just do it and check the polygoncount whithin cinema. this should give you the answer, or not?

        or you could use GePrint and print out the polycount before and after you removed the points

        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 12/05/2009 at 03:11, xxxxxxxx wrote:

          How are you deleting points, through the modeling library?

          cheers,
          Matthias

          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 12/05/2009 at 04:20, xxxxxxxx wrote:

            I didn't try yet. Wanted to ask first, before I write lots of code which maybe doesn't work correctly 😉

            How would I do it with the modeling library?

            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 12/05/2009 at 23:45, xxxxxxxx wrote:

              Hello Jack,

              AutoAlloc<Modelling>mod;
              mod->InitObject((PolygonObject* )yourobj,0);
              mod->DeletePoint(obj,index);// index = point index to delete
              mod->Commit();

              Franz

              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 13/05/2009 at 03:12, xxxxxxxx wrote:

                Ah, that's pretty easy 🙂
                Thank you, Franz!

                Cheers,
                Jack

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