Synopsis

PDX_MSGT igeo_Convert144To143(long option, MDA_PTR db_ptr, EAM_STACK *stack, int model, MDA_PTR *db_ptr_143)

Purpose

Convert an IGES 144 entity to an IGES 143 entity

Description

Given an IGES 144 entity, converts the IGES 144 to an IGES 143.

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.

The IGES pointer DE attributes, property pointers and associativity pointers are applied to the new IGES 143 entity.

Input

option

Not used

db_ptr

The IGES 144 entity database pointer

stack

The entity attribute stack handle

model

The model to create the new IGES 143 entity in

Output

db_ptr_143

The new IGES 143 entity database pointer

Tolerances

      MODEL_SPACE_PNT_TOL
      .fi

Return

      IGEO_NOERR
      IGEO_NOMEMORY
      Low level error return
      .fi