# Synopsis

PDX_MSGT iges_SetEntityDEStruct(long option, void *entity)

# Purpose

Set the DE structure in an IGES entity.

# Description

This function will initialize the igesde structure of the specified entity with the current values on the DE stack. The entity must be allocated in the database (i.e. mda_AllocateEntity). The stack is initialized with default values.

# Input

## option

### IGES_INITCOUNTS

Initialize property and associativity counts to zero

### IGES_NOBACKPTRS

Do not set pointer fields with mda_AddPtr

## entity

Pointer to entity

# Return

IGES_NOERR or error