# Synopsis

PDX_MSGT igdx_CompEdgeCurveTo142(long option, MDA_PTR gdx_cec_ptr, MDA_PTR iges_surf_ptr, int iges_model, MDA_PTR *iges_142_ptr)

# Purpose

Create the IGES curve on surface entity from the GDX composite edge curve entity.

# Description

Creates the IGES curve on surface entity from the GDX composite edge curve entity in the specified model and optionally commits the definition to the database. The base subordinate entities of the GDX composite edge curve entity is also created as physcially dependent entities in the specified model.

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

The GDX composite edge curve entity database pointer

## iges_surf_ptr

The GDX surface entity database pointer

## iges_model

The model for creating the IGES curve entity

# Output

## iges_142_ptr

The database pointer of the resulting IGES curve

# Return

          IGDX_NOERR
          IDGX_TOOMANYEDGECURVES
          Low level error return
          .fi