Synopsis

PDX_MSGT igdx_GetIGESData(long option, MDA_PTR db_ptr, int model, MDA_PTR *iges_db_ptr)

Purpose

Get the IGES definition data of the GDX entity.

Description

Gets the IGES definition data by creating a new IGES entity definition from the GDX entity definition. The IGES DE information is initialized to default values. The IGES entities that result from the GDX entities are as follows:

GDX entity IGES entity
GDX_ARC IGES_100_0
GDX_CONIC IGES_104_1, IGES_104_2, IGES_104_3
GDX_POLYLINE IGES_106_0, IGES_106_11, IGES_106_63,
IGES_106_12, IGES_110_0, IGES_116_0
GDX_NURB_CURVE IGES_126_0, IGES_126_1, IGES_126_2,
IGES_126_3, IGES_126_4, IGES_126_5
GDX_SPLINE_CURVE IGES_112_0
GDX_OFFSET_CURVE IGES_130_0
GDX_COMP_CURVE IGES_102_0
GDX_TRIM_CURVE IGES Curve entity of the trimmed portion
of the GDX curve
GDX_COMP_EDGE_CURVE IGES_142_0 if the base surface is open
and there is only one edge curve,
otherwise an IGES_141_0
GDX entity IGES entity
GDX_NURB_SURF IGES_128_0, IGES_128_1, IGES_128_2,
IGES_128_3, IGES_128_4, IGES_128_5,
IGES_128_6, IGES_128_7, IGES_128_8,
IGES_128_9
GDX_SPLINE_SURF IGES_114_0
GDX_RULED_SURF IGES_118_1
GDX_REV_SURF IGES_120_0
GDX_EXT_SURF IGES_122_0
GDX_OFFSET_SURF IGES_140_0
GDX_PLANE IGES_108_0
GDX_CYLINDER IGES_192_0, IGES_192_1
GDX_CONE IGES_194_0, IGES_194_1
GDX_SPHERE IGES_196_0, IGES_196_1
GDX_TORUS IGES_198_0, IGES_198_1
GDX_FACE IGES_143_0, IGES_144_0

GDX entity IGES entity
GDX_SOLID IGES_186_0

Input

option

Options (not used)

db_ptr

The GDX entity database pointer

model

The IGES model to create the IGES entity in

Output

iges_db_ptr

The IGES entity database pointer.

Return

IGDX_NOERR IGDX_NOIGESENTITY IGDX_INVALIDMODEL Low Level error return