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

    ResizeObject() questions

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 161 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 24/06/2009 at 12:04, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R10-R11 
      Platform:   Windows  ;   Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      1. Is it necessary to re-get the Polygon and Vector arrays after calling PolygonObject::ResizeObject() in order to set added polygons and points?

      2. Are the new polygons and points appended to the arrays? This would appear to make the most sense.

      The reason that I ask is that I am coding my own extrusion algorithm to extrude individual polygons in the same way as C4D extrusion (the selected polygons remain selected). This is being done because it is a generator 'attempting' to support multi-processing. Unfortunately, my best estimate from tests is that SendModelingCommand() calls are NON-reentrant - which means simultaneous calls have to wait until the call returns and thus results in a slower process than the expected faster process using multi-processors (than a single process).

      Thanks,

      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 24/06/2009 at 13:11, xxxxxxxx wrote:

        Nevermind.

        1. Yes.

        2. Yes.

        🙂

        ETA: And, yes, it is definitely the SendModelingCommand() being non-reentrant. My own extrude is extrudemely fast comparatively!!! ;D

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