simUngroupShape

Ungroups a compound shape into several shapes

C++ synopsis

int* simUngroupShape(int shapeHandle, int* shapeCount)

Arguments

  • shapeHandle: handles of the shape you wish to ungroup. If you specify for this argument (-2-handleOfShape), then the shape will be divided instead of ungrouped
  • shapeCount (output): size of the returned buffer

Return

  • a pointer to an array holding the handles of the resulting shapes, or nullptr in case of an error. The user is in charge of releasing the array buffer with simReleaseBuffer.


See also: