# Synopsis

PDX_MSGT mda_DuplicateEntity2(long option, int model, void *src_ent, void *dst_ent)

# Purpose

Duplicate an entity in memory.

# Description

This function is identical to mda_DuplicateEntity except if mda_CreateEntity is called, the entity will be written to model as specified in the call to this function rather than the model which is current when this function is called.

# Input

## option

Options (not used)

## model

Model to create entity in

## src_ent

Entity to be duplicated

# Output

## dst_ent

Duplicate of src_ent

# Return

MDA error code