Synopsis

PDX_MSGT igdx_FaceTo143(long option, MDA_PTR gdx_face_ptr, int iges_model, MDA_PTR *iges_143_ptr)

Purpose

Create the IGES bounded surface entity from the GDX Face entity.

Description

Creates the IGES bounded surface from the GDX Face entity in the specified model and optionally leaves the definition locked. The base subordinate entities of the GDX Face entity are also created as physcially dependent entities in the specified model.

The IGES 143 does not allow the IGES analytical surface entities, 192, 194, 196, or 198. Thus, GDX analytical surfaces get converted to IGES revolved surfaces (120). As a result, the GDX Face entities with analytical surfaces will have their parm curves deleted so that the parm curves are not used in the IGES boundary entities (141). The parm curves would not be valid on the new revolved surface entities. If parm curves are required, the user should convert the the GDX analytical surfaces to revolved surfaces and generate new parm curves.

Input

option

IGDX_NO_190

For the output, do not create IGES 190's

IGDX_LEAVE_LOCKED

The IGES entity will remain locked in the database. The Applicaton must use mda_GetLockedAddr to get the entity structure.

gdx_face_ptr

The GDX Curve Bounded Surface entity database pointer

iges_model

The model for creating the IGES curve entity

Output

iges_143_ptr

The database pointer of the resulting GDX bounded surface

Return

      IGDX_NOERR
      IGDX_ENTITYNOTSUPPORTED
      Low level error return
      .fi