SE_shape_get_num_parts

Returns the number of parts and subparts in a shape.

Usage syntax

LONG SE_shape_get_num_parts (const SE_SHAPE shape, LONG *num_parts LONG *num_subparts);

Parameters
shape A handle to an active shape object
num_parts The number of parts
num_subparts The number of subparts. May be null.
Description

Returns the number of parts and, optionally, subparts in a shape.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_INVALID_SHAPE_OBJECT

Notes

•  Ignores any CAD data.