SE_shape_get_Zrange

Returns the range of Z values of a shape or a shape part.

Usage syntax

LONG SE_shape_get_Zrange (const SE_SHAPE shape, LONG part_num, LFLOAT *zmin, LFLOAT *zmax);

Parameters
shape A handle to an active shape object
part_num The number of the part to return the elevation range for
zmin A pointer to the minimum elevation value of the shape part or shape
zmax A pointer to the maximum measure value of the shape part or shape
Description

Returns the range of a shape’s elevation values. If part_num is 0, the range of elevation values is returned. If part_num is nonzero, the range of elevation values of the specified part is returned.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_INVALID_PARTNUM

SE_INVALID_SHAPE_OBJECT

Notes

•  Ignores any CAD data.