EA_OnPostOpenDiagram

Details

EA_OnPostOpenDiagram notifies Add-Ins that a diagram has been opened.

Also look at EA_OnPostCloseDiagram.

Syntax

Function EA_OnPostOpenDiagram(Repository As EA.Repository, DiagramID As Integer)

The EA_OnPostOpenDiagram function syntax contains the following elements:

Parameter

Type

Direction

Description

DiagramID

Integer

IN

Contains the Diagram ID of the diagram that was opened.

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.

Return Value

None.