Synopsis

PDX_MSGT dxcr_Polyline(long option, MDA_PTR orig_ptr, int pflag, double dswidth, double dewidth, int mmcnt, int mncnt, int smdens, int sndens, int sstype, int attr_flag, int num_vtx, MDA_PTR *vertex, int dxf_model, MDA_PTR *dxf_ptr)

Purpose

Create a DXF Polyline.

Description

A DXF 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

dswidth

Default starting width

dewidth

Default ending width

mmcnt

Polygon mesh count M direction

mncnt

Polygon mesh count N direction

smdens

Smooth surface M densities

sndens

Smooth surface N densities

sstype

Surface type

attr_flag

Attributes flag

num_vtx

Number of vertices

vertex

Vertex entity pointers

dxf_model

DXF model number

Output

dxf_ptr

Entity pointer of the DXF Polyline

Return

      DXCR_NOERR
      Low level error return
      .fi