# Synopsis

PDX_MSGT gdx_EntityGetAttribute(long option, MDA_PTR native_geom_ptr, int gdx_model, MDA_PTR *gdx_attr_ptr)

# Purpose

Given a native geom entity, gets the related GDX attribute

# Description

By tracking the given native_geom_ptr (native geom entity) in the GDX_ATTR_GEOM_REL table, gets the related gdx_attr_ptr (GDX attribute) GDX_ATTR_GEOM_REL table stores relation between native Geom entity and GDX attribute, gets created when translating the data from native system to the core GDX system. This program is getting the GDX attributes by tracking the orig_db_ptr (native_geom_ptr) in relation table

# Input

## option

Option

## native_geom_ptr

Native systems geometric entity

## gdx_model

GDX Model that attribute is stored in

# Output

## gdx_attr_ptr

GDX attribute pointer

# Return

          GDX_NOERR
          .fi