Please note : This help page is for an older version of Enteprise Archtiect. The latest help can be found here.

MDG_PostMerge

MDG_PostMerge is called by Enterprise Architect after a merge process has been completed.

File save checking should not be performed with this function, but should be handled by MDG_PreGenerate, MDG_PostGenerate and MDG_PreReverse.

Syntax

Function MDG_PostMerge (Repository As EA.Repository, PackageGuid As String) As Long

The MDG_PostMerge function syntax contains these parameters.

Parameter

Type

See also

PackageGuid

String

Direction: IN

Description: The GUID identifying the Enterprise Architect Package sub-tree that is controlled by the Add-In.

Repository

EA.Repository

Direction: IN

Description: An EA.Repository object representing the currently open Enterprise Architect model. Poll its members to retrieve model data and user interface status information.

Repository Class

Return Value

Return a zero value if the post-merge process has failed. A non-zero return indicates that the post-merge has been successful. Enterprise Architect assumes a non-zero return if this method is not implemented.

Learn more