ResizeObject() questions

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,

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