# Synopsis

PDX_MSGT dgdx_GetDXFData(long option, MDA_PTR gdx_db_ptr, int dxf_model, MDA_PTR *dxf_db_ptr)

# Purpose

Get the DXF data (in the specified model) corresponding to a GDX entity.

# Description

Gets the DXF definition data by creating a new DXF entity in the dxf_model from the GDX entity definition.

The DXF entities that result from the GDX entities are as follows:

GDX entity | DXF entity
–
GDX_ARC | DXF_ARC, DXF_CIRCLE, DXF_2DPOLYLINE
GDX_COMP_CURVE | DXF_3DPOLYLINE, Decompose
GDX_CONIC (gdx_ellipse) | DXF_ELLIPSE
GDX_EXT_SURF | Base Curve Mapped (extruded)
GDX_NURB_CURVE | DXF_SPLINE
GDX_NURB_SURF | DXF_POLYLINE, DXF_BEZIER_BSPLINE_SURF,
| DXF_BSPLINE_SURF
GDX_PLANE | DXF_LINE_EXT (extruded)
GDX_POLYLINE | DXF_3DPOLYLINE, DXF_LINE, DXF_POINT
GDX_POLY_SHELL | DXF_3DFACE, DXF_POLYFACE_MESH
GDX_RECT_MESH | DXF_POLYGON_MESH

# Input

## option

Options DGDX_ARC_AS_PLINE - make a "bulged" DXF 2D polyline out of a GDX arc

## gdx_db_ptr

The GDX entity database pointer

## dxf_model

The DXF model to create the DXF entity in

# Output

## dxf_db_ptr

The DXF entity database pointer

# Return

          DGDX_NOERR
          DGDX_NO_DXF_ENTITY
          Low Level error return
          .fi