Synopsis

PDX_MSGT iges_CreateEntityDEStruct(long option, IGES_ATTR *attr, void *from_entity, int to_model, void *to_entity)

Purpose

Create an IGES DE Structure.

Description

Creates the IGES DE structure information from the IGES DE attribute data and optionally from the IGES from entity data. The DE pointer fields property pointers and associativity pointers are initialized in the to entity structure if the to_entity model is not the same as the from_entity model. If the to_entity model and the from_entity model are the same the DE pointer attributes, property pointers and associativity pointers in the to_entity are set to the DE attributes pointers, property pointers and/or associativity pointers of the from_entity . Both entities must be locked.

Input

option

Options (not used)

attr

The IGES DE attribute data structure

from_entity

The IGES entity to create the additional data from or NULL

to_model

The model the entity is in (Not used)

to_entity

The IGES entity to create the DE data for (Required to be locked)

Return

      IGES_NOERR
      Low level error return
      .fi