# Synopsis

PDX_MSGT gdx_ExtrusionToMeshBody(long option, int nCurves, MDA_PTR *gdxCurvePtrs, MTH_3DVEC direction, double distance, double tolerance, int model, MDA_PTR *gdxMeshBodyPtr)

# Purpose

Create GDX Mesh Body from extruded curves

# Description

A GDX Mesh Body will be created by extruding the specified closed curves along the specified vector for the specified distance. It is assumed all of the specified curves lie in the same plane. If the number of curves is greater than 1, the first curve is assumed to be the outer. Each curve(s) will be converted to a GDX Polyline using the specified tolerance. Each segment of the GDX Polyline will be used to construct a 4 sided planar facet between the original curve(s) and the extruded curve(s). Two end caps will be contstructed using the original curve(s) and extruded curve(s).

# Input

## option

Options (not used)

## nCurves

Number of closed curves

## gdxCurvePtrs

Array of GDX closed curves to process

## direction

Vector of extrusion

## distance

Distance of extrusion

## tolerance

Tolerance to use for Polyline conversion

## model

Model to create entities in

# Output

## gdxMeshBodyPtr

Created GDX Mesh Body entity

# Return

GDX_NOERR or error