MDG_PreReverse
The MDG_PreReverse enables the Add-In to save file changes before being imported into Enterprise Architect.
Syntax
Sub MDG_PreReverse(Repository As EA.Repository, PackageGuid As String, FilePaths As Variant)
The MDG_PreReverse function syntax contains the following elements
Parameter  | 
Type  | 
Direction  | 
Description  | 
Repository  | 
EA.Repository 
  | 
IN  | 
An EA.Repository object representing the currently open Enterprise Architect model. Poll its members to retrieve model data and user interface status information. 
  | 
PackageGuid 
  | 
String  | 
IN  | 
The GUID identifying the Enterprise Architect package sub-tree that is controlled by the Add-In. 
  | 
FilePaths  | 
String array  | 
IN  | 
An array of filepaths pointed to the files that are to be reverse engineered  | 
Return Value
None.
Details
This function is with a list of files that about to be reverse-engineered into Enterprise Architect. If the user is working on unsaved versions of these files in an editor, you could either prompt the user or save automatically.
See Also


