# Synopsis

PDX_MSGT gdx_ConvertLoopToCompEdgeCurve(long option, MDA_PTR db_ptr_loop, PDX_BOOL sense, MDA_PTR gdx_face_surf_db_ptr, MDA_PTR gdx_new_surf_db_ptr, int model, void *gdx_comp_edge_curve)

# Purpose

Convert a GDX loop entity to a GDX composite edge curve entity

# Description

Given a GDX loop entity, a NEW GDX composite edge curve entity is created.

The GDX loop entity and all its subordinate entities must be valid GDX definitions

# Input

## option

### GDX_COMMIT

Commit the GDX composite edge curve to the database and return the MDA_PTR database pointer. Otherwise the memory structure pointer for the GDX composite edge curve entity is returned.

## db_ptr_loop

The GDX loop entity database pointer

## sense

### PDX_FALSE

The sense of the loop must be reversed

### PDX_TRUE

The sense of the loop agrees with the logical sense of the edges

## gdx_face_surf_db_ptr

The database pointer of the face for the loop

## gdx_new_surf_db_ptr

The database pointer of the GDX surface entity that should be used for the new composite edge curve surface.

## model

The model number for creation of the new GDX composite edge curve entity.

# Output

## gdx_comp_edge_curve

The new GDX composite edge curve entity database pointer or structure pointer

# Return

          GDX_NOERR
          GDX_NOMEMORY
          Low level error return
          .fi