# Synopsis

PDX_MSGT iges_CopyEntityDEStruct(long option, void *from_entity, int to_model, void *to_entity)

# Purpose

Copy IGES DE Structure.

# Description

Copies the IGES DE structure information from one IGES entity to another. If the to_entity and from_entity are in the same model, the pointer fields will be set. If the models are not the same, the pointer fields will be initialized. Both entites must be locked and created in the database. When requested, space for the ASSOCS and PROPS structures is allocated and filled.

# Input

## option

### IGES_COPYALL

If specified, the PROPS and ASSOCS structures will be copied also.

## from_entity

The IGES entity to copy from (Required to be locked)

## to_model

The model the the to entity is in.

## to_entity

The IGES entity to copy to (Required to be locked)

# Return

          IGES_NOERR
          Low level error return
          .fi