# Synopsis

PDX_MSGT pgdx_GDXSolidToPINTSolidBody(long option, MDA_PTR gdx_solid_ptr, int pint_model, MDA_PTR *pint_body_ptr)

# Purpose

Process an GDX_SOLID to PINT.

# Description

This function converts GDX_SOLID entity to PINT_SOLID_BODY entity. A PINT_REGION is also created. As a result, only one PINT_SOLID_BODY which contains a single PINT_REGION is created for each GDX_SOLID.

# Input

## option

### PGDX_CAL_LOCAL_PRECISION

Calculates local Edge and Vertex Precisions. These can also be set by Parasolid using the mend function. This is enabled by options to the ppiw_Write function.

## gdx_solid_ptr

MDA pointer to a GDX_SOLID

## pint_model

PINT model

# Output

## pint_body_ptr

MDA pointer of PINT_BODY

# Return

          PGDX_NOERR
          .fi