# Synopsis

PDX_MSGT igdx_GDXAttrsToEntityDE(long option, MDA_PTR iges_db_ptr, MDA_PTR orig_ent_ptr)

# Purpose

Updates IGES entity with GDX Attributes

# Description

Given an IGES entity and its native entity, program updates IGES entity attributes with GDX attributes. Using the given native entity (orig_ent_ptr), it tracks down the related attribute entity from GDX_ATTR_GEOM_REL table. Then program extracts transformation matrix, color, label, level and hierarchy from the GDX attribute entity and updates the IGES entity (iges_db_ptr).

# Input

## option

Option

## iges_db_ptr

IGES entity

## orig_ent_ptr

Native entity of the given IGES entity.

# Output

## iges_db_ptr

Updated IGES entity with GDX attributes

# Return

          IGDX_NOERR
          .fi