# Synopsis

PDX_MSGT usd_Write(long option, int model, const char *file_name, MDA_ENT_FUNC *func)

# Purpose

Convert GDX file to USD.

# Description

Convert GDX file to USD.

# Input

## option

N/A

## model

Model to place the entities in. The model must already be allocated with mda_AllocateModel.

## file_name

Name of file to write to.

## func

Function to be called with each entity after it is parsed or NULL if no function should be called. See mda_ParseFile for more information. Currently not used.

# Return

USD error code, if not 0, mpm_DumpStack can be called to print the specifics of the error.