# Synopsis

PDX_MSGT dxcr_LWPolyline(long option, MDA_PTR orig_ptr, int pflag, double cwidth, double thickness, double elevation, MDA_COUNT npts, double (*pts)[2], double *bulges, double (*widths)[2], int dxf_model, MDA_PTR *dxf_ptr)

# Purpose

Create a DXF Lightweight Polyline.

# Description

A DXF Lightweight Polyline entity is created for the given data.

The orig_ptr argument should contain the database pointer of the entity that the new entity was created from (usually this should be obtained by the calling routine via mda_GetOrigDbptr) or MDA_NULL_PTR. See the mda_intro man page for more information about predecessor entities.

# Input

## option

Options (not used)

## orig_ptr

The original entities orig_ptr as obtained from the mda_GetOrigDbptr call, or MDA_NULL_PTR

## pflag

Polyline flag

## cwidth

Constant width

## thickness

Thickness

## elevation

Elevation

## npts

Number of vertices

## pts

X,Y coordinates of vertices

## bulges

Bulge value

## widths

Starting and ending widths

## dxf_model

DXF model number

# Output

## dxf_ptr

Entity pointer of the DXF Polyline

# Return

          DXCR_NOERR
          Low level error return
          .fi