# Synopsis

PDX_MSGT gdx_GDXAttrsToModelEntities2(long option, int targetModel, int sourceModel)

# Purpose

Transfer GDX attributes to specified model.

# Description

This function will traverse the specified model and for each entity get the GDX attributes associated with the original entity. If there is an original entity and it has attributes, the attributes will be copied.

# Input

## option

### GDX_SET_AS_ORIG_ENT

Set the attribute against the entity in the target model

## targetModel

GDX model to create attributtes in

## sourceModel

GDX model where attributes were created

# Return

Error code or GDX_NOERR