# Synopsis

(macro) PDX_MSGT igeo_GetGDXData(long option, MDA_PTR iges_db_ptr, MDA_PTR *gdx_db_ptr)

# Purpose

Get the GDX definition data of the IGES entity in the IGES->GDX model.

# Description

This function is being maintained for compatibility with previous versions. Use igdx_GetGDXData.

Gets the GDX definition data by creating a new GDX entity definition from the IGES entity definition in the IGES->GDX model. The GDX entity should be deleted using the GDX function gdx_DeleteEntity after the application has finished using the GDX entity definition unless the application intends to re-use the GDX entity. The GDX entities that result from the IGES entities are as follows:

IGES entity | GDX entity
–
IGES_100_0 | GDX_ARC
IGES_102_0 | GDX_COMP_CURVE
IGES_104_0, IGES_104_1, IGES_104_2, | GDX_CONIC
IGES_104_3
IGES_106_11, IGES_106_12, IGES_106_13, | GDX_POLYLINE
IGES_106_63
IGES_110_0 | GDX_POLYLINE
IGES_112_0 | GDX_SPLINE_CURVE
IGES_116_0 | GDX_POLYLINE
IGES_126_0, IGES_126_1, IGES_126_2, | GDX_NURB_CURVE
IGES_126_3, IGES_126_4, IGES_126_5
IGES_130_0 | GDX_OFFSET_CURVE
IGES_141_0 | GDX_COMP_EDGE_CURVE
IGES_142_0 | GDX_COMP_EDGE_CURVE

IGES entity | GDX entity
–
IGES_108_0 | GDX_PLANE
IGES_108_1 | GDX_CURVE_BOUNDED_SURF
IGES_114_0 | GDX_SPLINE_SURF
IGES_118_0 | GDX_RULED_SURF
IGES_120_0 | GDX_REV_SURF
IGES_122_0 | GDX_EXT_SURF
IGES_128_0, IGES_128_1, IGES_128_2, | GDX_NURB_SURF
IGES_128_3, IGES_128_4, IGES_128_5,
IGES_128_6, IGES_128_7, IGES_128_8,
IGES_128_9
IGES_140_0 | GDX_OFFSET_SURF
IGES_143_0 | GDX_CURVE_BOUNDED_SURF
IGES_144_0 | GDX_CURVE_BOUNDED_SURF

IGES entity | GDX entity
–
IGES_186_0 | GDX_SOLID

# Input

## option

### IGEO_APPLYMTX

For the GDX Arc, GDX Conic, GDX NURB curve, and GDX NURB surface apply the IGES matrix to the GDX definition

## iges_db_ptr

The IGES entity database pointer

# Output

## gdx_db_ptr

The GDX entity database pointer.

# Return

Low Level error return