# Synopsis

PDX_MSGT sgdx_GDXModelToSTEP(long option, int gdx_model, int *step_model, char *step_ap, PDX_BOOL assembly, char *smap_file)

# Purpose

Translate a GDX model to a STEP 203/214 model.

# Description

Translate a GDX model to a STEP 203/214 model based on the entity mappings contained within the ASCII mapfile. The calling function needs to initialize and terminate the proper STEP subsystem: s203_Initialize and s203_Terminate or s214_Initialize and s214_Terminate.

# Input

## option

SGDX_MAP_ATTRIBUTES Take the GDX Attributes into STEP

## gdx_model

GDX model to be converted to STEP

## step_model

STEP model in which to create the STEP entities MDA_NULL_MODEL, Create a new STEP model >0, STEP model to append entities into

## step_ap

Character string contain the file type "203", Create STEP 203 model "214", Create STEP 214 model

## assembly

Default is false. Set to true to create assembly structure

## smap_file

Optional name of step mapping file. If NULL, default mappings will be used.

# Output

## step_model

STEP model with entities from GDX model.