# Synopsis

PDX_MSGT gdx_GetModelVar(long option, int gdx_model, MDA_PTR *gdx_modelvar_ptr)

# Purpose

MDA pointer to the GDX_MODEL_VAR entity

# Description

Returns the MDA Pointer to the GDX_MODEL_VAR entity. If there is no GDX_MODEL_VAR entity in the given GDX Model, it will return MDA_NULL_PTR.

# Input

## option

Options (not used)

## gdx_model

GDX model number

# Output

## gdx_modelvar_ptr

### MDA_NULL_PTR

if the file does not have a model var entitiy.

# Return

          PDX_NOERR
          .fi