Prev Next

MDG_Build Project

Add-Ins can use MDG_BuildProject to handle file changes caused by generation. This function is called in response to a user selecting the 'Execute > Run > Build > Build' ribbon option.

Respond to this event by compiling the project source files into a running application.

Syntax

Sub MDG_BuildProject (Repository As EA.Repository, PackageGuid As String)

The MDG_BuildProject 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

None.

Learn more