# Synopsis

PDX_MSGT igdx_FaceTo143Or144(long option, MDA_PTR gdx_face_ptr, int iges_model, MDA_PTR *iges_ent_ptr)

# Purpose

Create an IGES 143 or 144 entity from a GDX face entity.

# Description

Creates the IGES bounded surface entity (143) or trimmed surface (144) from the GDX face entity. The base subordinate entities of the GDX Face entity are also created as physcially dependent entities in the specified model. See igdx_FaceTo143 and igdx_FaceTo144 for the specifics of each conversions. This function creates 144 entities if the surfaces are open and do not have poles. In order to get a valid IGES 144 entity, the input GDX Face should have the proper form. That is, the first loop should be the outer loop, all parm curves should be closed, the surface should be open, and parm curves should exist. This function does convert multiple edges into a model space and parm space composite curves for the 142. This function does not check the requirements for valid IGES, they are assumed. GDX functions that convert a GDX Face to a valid IGES 144 form: gdx_FaceRemoveSeamCrossings, gdx_FaceBoundSurf, gdx_FaceSplitClosedFaceSurfs, gdx_FaceGenerateParmCurves.

# Input

## option

### IGDX_NO_190

For the output, do not create IGES 190's

### IGDX_LEAVE_LOCKED

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

## gdx_face_ptr

The GDX face entity database pointer

## iges_model

The model for creating the IGES curve entity

# Output

## iges_ent_ptr

The database pointer of the resulting iges 143 or iges 144 entity.

# Return

          IGDX_NOERR
          Low level error return
          .fi