# Synopsis

PDX_MSGT igeo_Convert142To141(long option, MDA_PTR db_ptr, MDA_PTR db_ptr_surf, PDX_BOOL outer_bndry, EAM_STACK *stack, int model, MDA_PTR *db_ptr_141)

# Purpose

Convert an IGES 142 entity to an IGES 141 entity

# Description

Given an IGES 142 entity, converts the IGES 142 to an IGES 141.

The IGES 141 entity is set to reference the IGES 142 entities base surface unless db_ptr_surf is not MDA_NULL_PTR.

If the db_ptr model is the same as model, then the subordinate entities are duplicated and consequently, will reference any subordinate entities in the original model. Otherwise, the entities are copied and all the suboridinate entities will also be copied as new entities in model.

# Input

## option

### IGEO_CHECK_SENSE

Perform sense checking for the curve. By default the sense is set to true.

## db_ptr

The IGES 142 entity database pointer

## db_ptr_surf

The IGES surface for trimming or MDA_NULL_PTR if The IGES 142 surface should be referenced

## outer_bndry

### PDX_TRUE

The IGES 142 entity is the outer boundary for the surface db_ptr_surf

### PDX_FALSE

The IGES 142 entity is an inner boundary for the surface @ db_ptr_surf

## stack

The entity attribute stack handle

## model

The model to create the new IGES 141 entity in

# Output

## db_ptr_141

The new IGES 141 entity database pointer

# Tolerances

          MODEL_SPACE_PNT_TOL
          .fi

# Return

          IGEO_NOERR
          IGEO_NOMEMORY
          Low level error return
          .fi