SE_shape_get_Mrange

Returns the range of measure values for a shape or a shape part

Usage syntax

LONG SE_shape_get_Mrange (const SE_SHAPE shape, LONG part_num, LFLOAT *mmin, LFLOAT *mmax);

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

SE_shape_get_Mrange returns the range of a shape’s measure values. If part_num is 0, the measure range of the entire shape is returned. If part_num is nonzero, the measure range of the specified part is returned.

Returns

SE_SUCCESS
SE_INVALID_PARTNUM

SE_INVALID_POINTER

SE_INVALID_SHAPE_OBJECT

Notes

∙  Ignores any CAD data