# Synopsis

PDX_MSGT gdx_SurfaceToLoop(long option, MDA_PTR gdx_surf_ptr, MDA_PTR *gdx_loop_ptr)

# Purpose

Generate a Loop representing the outer boundary of the surface.

# Description

Generate a Loop consisting of the outer oundary of the surface.

# Input

## option

### GDX_NOOPT

Create both model and parm curves in the GDX Loop

### GDX_NOPARM

Only create the model curves in the GDX Loop

## gdx_surf_ptr

Surface from which to create boundary loop.

# Output

## gdx_loop_ptr

Resulting loop.

# Tolerances

          MODEL_SPACE_PNT_TOL
          .fi

# Return

          GDX_NOERR
          Low level error return
          .fi