# Synopsis

PDX_MSGT dgdx_ModelEntitiesToGDXAttrs(long option, int gdx_model)

# Purpose

Get GDX Attributes for GDX entities from dwg/dxf entities.

# Description

Traverse through GDX model and creates GDX Attributes for all GDX entities by using its original dwg/dxf entities.

Program ignore attribute related errors and process as many entities as possible.

# Input

## option

### DGDX_ENCODE_LINE_TYPE

Encode DXF line type into color.name field <<<LINE_TYPE=???>>>

### DGDX_ENCODE_COLOR_INDEX

Encode DXF color index into color.name field <<<COLOR_INDEX=???>>>

### DGDX_MAP_HANDLE_TO_LABEL

Map DXF handle to label

## gdx_model

GDX model with out attributes

# Return

          DGDX_NOERR
          Low Level error return
          .fi