# Synopsis

PDX_MSGT gcr_EdgeCurveAddFace(long option, MDA_PTR gdx_ec_ptr, MDA_PTR gdx_surf_ptr, MDA_PTR gdx_parm_ptr, int gdx_model, MDA_PTR *gdx_new_ec_ptr)

# Purpose

Create a GDX Edge Curve by adding a face to an existing edge curve.

# Description

This function creates a new GDX edge curve from an existing GDX edge curve and face. The face is defined by a surface and a parm curve. The new EC has one more face than the original EC. The original EC is not deleted.

# Input

## option

### GCR_NOVALIDATE

No validation will occur on the input data

## gdx_ec_ptr

The GDX DB pointer of Edge Curve to get additional face (surf & parm curve).

## gdx_surf_ptr

The surface of additional face to be added to faces.

## gdx_parm_ptr

The parm curve pointer of additional face (may be MDA_NULL_PTR)

## gdx_model

The GDX model for entity creation

# Output

## gdx_new_ec_ptr

The Entity database pointer of the GDX Edge Curve

# Tolerances

          .fi

# Return

          GCR_NOERR
          GCR_BAD_GDX_MODEL
          Low level error return
          .fi