Add-Ins can use MDG_BuildProject to handle file changes caused by generation. This function is called in response to a user selecting the 'Extensions | Build Project' menu option.
Respond to this event by compiling the project source files into a running application.
Sub MDG_BuildProject (Repository As EA.Repository, PackageGuid As String)
The MDG_BuildProject function syntax contains these parameters.
Description: The GUID identifying the Enterprise Architect Package sub-tree that is controlled by the Add-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.