# Synopsis

PDX_MSGT dxcr_2DSolid(long option, MDA_PTR orig_db_ptr, MTH_3DPNT xyz1, MTH_3DPNT xyz2, MTH_3DPNT xyz3, MTH_3DPNT xyz4, double normal[3], double thickness, int dxf_model, MDA_PTR *dxf_db_ptr)

# Purpose

Creates a DXF 2D solid.

# Description

Creates a DXF 2D solid entity in the specified model based on data provided. The data provided must result in a valid definition.

The orig_db_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. If thickness is nonzero, the extruded form of the 2D solid will be created.

# Input

## option

Options (not used)

## orig_db_ptr

The database pointer of the originating entity

## xyz1

The XYZ location of the first point

## xyz2

The XYZ location of the second point

## xyz3

The XYZ location of the third point

## xyz4

The XYZ location of the fourth point

## normal

Normal vector

## thickness

Entity thickness (normal distance)

## dxf_model

The model for creating the DXF entity or entities

# Output

## dxf_db_ptr

The database pointer of the resulting DXF entity

# Return

          DXCR_NOERR
          Low level error return
          .fi