Synopsis

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

Purpose

Copy PMI entities from source model to target model

Description

The target model is traversed to build a tree of original database pointers for each entity. Then the PMI entities in the source model are copied to the target model and the attached entities are replaced with the appropriate entities from the tree.

Input

option

Options (none)

targetModel

GDX model to create PMI entities in

sourceModel

GDX model where PMI entities were created

Return

Error code or GDX_NOERR