Call from Enterprise Architect

Return to Introduction  Previous page  Next page

Automation Interface Examples: Call Applications from Enterprise Architect

Enterprise Architect can be set up to call an external application. You can pass parameters on the current position selected in the Project Browser window to the application being called.

To define an application that you can run from Enterprise Architect, select the Tools | Customize menu option. The Customize dialog displays. Select the Tools tab.


With this you can:

·Add a command line for an application
·Define parameters to pass to this application

The parameters required for running the AutInt executable are:

·The Enterprise Architect file parameter $f and
·The current PackageID $p

Hence the arguments should simply contain: $f, $p

The available parameters for passing information to external applications are:





Project Name

ie. c:\projects\EAexample.eap.


Calling Application (Enterprise Architect)

'Enterprise Architect' .


Current Package ID

ie. 144.


Package GUID

GUID for accessing this package.


Diagram ID

ID for accessing associated diagram.


Diagram GUID

GUID for accessing the associated diagram.


Comma separated list of element IDs

All elements selected in the current diagram.


Comma separated list of element GUIDs

All elements selected in the current diagram.

Once this has been set up, the application can be called from the main menu in Enterprise Architect using the Tools | YourApplication menu option.