Merge function (automation interface)
Syntax:
<target object>.Merge <source object>
Where:
Merges a source object into a destination object. This function is the equivalent of the Merge context menu command in Modeler.
Note that after the merge, it is the destination item or diagram that remains in the model.
Examples
This example merges Class1 into Class2:
Set objSource = Dictionary.Item("Class","Class1")
Set objTarget= Dictionary.Item("Class","Class2")
Call objTarget.Merge(objSource)