# Synopsis

PDX_MSGT iges_Create314(long option, T_IGES_314_0 *entity, MDA_PTR *db_ptr)

# Purpose

Create an IGES 314 entity.

# Description

This function will create an IGES 314 color definition entity. An option to check for duplicate definitions may be specified. If a duplicate definition is found, the database pointer of that definition will be returned.

# Input

## option

### IGES_DUPECHECK

Check for duplicate definition.

## entity

IGES 314 entity structure pointer which was allocated with mda_MallocEntity. The entity will either be freed (duplicate entity) or created, so the application must not free it or create it.

# Output

## db_ptr

Color definition database pointer

# Return

IGES_NOERR or error