# Synopsis

PDX_MSGT gdx_EntityGetLevel(long option, MDA_PTR gdx_ent_ptr, int *num_of_levels, char ***level)

# Purpose

Given a GDX entity, get the native level(s).

# Description

Get the orig_db_ptr for the specified GDX entity and find the associated attribute entity. If an attribute and level(s) is found, allocate memory for level(s) and copy it.

# Input

## option

Options (not used)

## gdx_ent_ptr

GDX entity

# Output

## num_of_levels

Number of levels associated with entity

## level

Level(s) (memory allocated must be freed by application)

# Return

          GDX_NOERR
          .fi