# Synopsis

PDX_MSGT igdx_CBSTo143(long option, MDA_PTR gdx_cbs_ptr, int iges_model, MDA_PTR *iges_143_ptr)

# Purpose

Create the IGES bounded surface entity from the GDX Curve Bounded Surface entity.

# Description

Creates the IGES bounded surface from the GDX Curve Bounded Surface entity in the specified model and optionally commits the definition to the database. The base subordinate entities of the GDX Curve Bounded Surface entity are also created as physcially dependent entities in the specified model.

The IGES 143 does not allow the IGES analytical surface entities, 192, 194, 196, or 198. Thus, GDX analytical surfaces get converted to IGES revolved surfaces (120). As a result, the GDX CBS entities with analytical surfaces will have their parm curves deleted so that the parm curves are not used in the IGES boundary entities (141). The parm curves would not be valid on the new revolved surface entities. If parm curves are required, the user should convert the the GDX analytical surfaces to revolved surfaces and generate new parm curves.

# 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_cbs_ptr

The GDX Curve Bounded Surface entity database pointer

## iges_model

The model for creating the IGES curve entity

# Output

## iges_143_ptr

The database pointer of the resulting GDX bounded surface

# Return

          IGDX_NOERR
          IGDX_ENTITYNOTSUPPORTED
          Low level error return
          .fi