# Synopsis

PDX_MSGT gdx_DbgPSPointsToPolyline(long option, T_GDX_POLY_SHELL *gdx_ps, long num_pnts, long *pnt_idx, int model, MDA_PTR *polyline_ptr)

# Purpose

Create a polyline for a set of poly-shell points

# Description

Create a poly-shell for a set of poly-shell points. The points will be connected in the given order and the polyline can be generated from the points in model space or parm space according to the option chosen.

# Input

## option

### GDX_MODEL_POINT

The polyline will be created from the points in model space

### GDX_PARM_POINT

The polyline will be created from the points in parm space

## gdx_ps

The structure of a poly shell

## num_pnts

Number of points on the boundary

## pnt_idx

Index numbers of all the points on the boundary

## model

Model in which the polyline will be created

# Output

## polyline_ptr

The data base pointer of a polyline

# Return

          GDX_NOERR
          Low level error return
          .fi