# Synopsis

PDX_MSGT igdx_SphereTo196(long option, MDA_PTR gdx_sphere_ptr, int iges_model, MDA_PTR *iges_196_ptr)

# Purpose

Create the IGES 196 sphere entity from the GDX sphere entity.

# Description

Creates the IGES 196:0,1 sphere form of the GDX sphere entity in the specified model and optionally commits the definition to the database.

# Input

## option

### IGDX_LEAVE_LOCKED

The IGES entity will remain locked in the database. The Applicaton must use mda_GetLockedAddr to get the entity structure.

## gdx_sphere_ptr

The GDX sphere entity database pointer

## iges_model

The IGES sphere entity model for creation

# Output

## iges_196_ptr

The database pointer of the resulting IGES surface

# Return

          IGDX_NOERR
          IGDX_INVALIDMODEL
          Low level error return
          .fi