SE_shape_as_text

Returns a text representation of a shape

Usage syntax

LONG SE_shape_as_text (const SE_SHAPE shape, LONG  alloc_size, CHAR *text_shape);

Parameters
shape A handle to an active shape object
alloc_size The amount of memory to allocate in bytes/td>
*text_shape A pointer to the shape as a text string
Description

Returns the text representation of a shape. If you pass a NIL shape, an error message is returned.

Returns

SE_SUCCESS
SE_AMBIGUOUS_NIL_SHAPE

SE_INVALID_ENTITY_TYPE

SE_INVALID_GEOMETRY_TYPE

SE_INVALID_PARTNUM

SE_INVALID_POINTER

SE_INVALID_SHAPE

SE_INVALID_SHAPE_OBJECT

SE_OUT_OF_CLMEM

SE_SDE_NOT_STARTED

SE_SHAPE_TEXT_TOO_LONG

Notes

∙  Ignores any CAD data in the source shape, and removes any CAD data in the target shape.