# Synopsis

PDX_MSGT sgdx_RprcntToGDXModelVar(long option, MDA_PTR step_rprcnt_ptr, int gdx_model, MDA_PTR *gdx_modelvar_ptr)

# Purpose

Creates a GDX_MODEL_VAR from STEP Representation_Context entity

# Description

Gets STEP Model precision and units from Representation_context entity. Converts STEP unit_number to GDX unit_number. Program creates GDX_MODEL_VAR with unit, STEP precision, GDX precision and angle precision.

# Input

## option

Options (not used)

## step_rprcnt_ptr

STEP Representation_context entity

## gdx_model

GDX Model number

# Output

## gdx_modelvar_ptr

GDX modelvaribale entity pointer

# Return

          PDX_NOERR
          .fi