# Synopsis

(macro) PDX_MSGT gdx_WriteOpenInventor(long option, int model, char *file)

# Purpose

Converts a GDX model into an ASCII Open Inventor file.

# Description

Converts a GDX model's POLY_SHELL and POLYLINE entities into ASCII Open Inventor format, and writes the result to a file.

# Input

## option

@b GDX_OVERWRITE If file already exists, overwrite the file. Default is to return an error.

## model

Model Id for GDX Model

## file

File name to write to

# Return

GDX_NOERR or error