Enterprise Architect inclues a powerful feature, the Automation Interface that enables users to
retrieve and update data contained within an Enterprise Architect model via the
programming language of their choice.
Visual Basic Examples
The following examples use Visual Basic 6.0 to perform calls to the Automation Interface and retrieve/update data contained in the EA repository.
- Document Reports - An interface with MS Word for generating documents.
- Custom Views - a graphs report Add-In for display in a diagram view.
- Set up VB - How to set up Visual Basic.
- Call from EA - Setting up an Add-in interface.
- References - Guidelines on the use of the Automation Interface
Examples provide a downloadable executable setup file as well as the Visual Basic source code used to construct them.
A reasonable knowledge of Visual Basic is assumed if modifications are to be made to the examples. These Add-Ins are intended to provide a starting point for users to configure their own application Add-Ins.
Guidelines on the use of the Automation Interface have been provided in EA's help file under "Automation and Scripting".
How to create a Basic Add-In
The How to create a Basic Add-In example explains how to configure the registry, VS2003 and EA to start communicating using C#.NET code examples.
The Template Example is a template or skeleton for creating an Add-In using the C# Language.
Tagged Value Access Example
The Tagged Value Access Example is an extension to the C# skeleton Add-In. This shows you a very basic example on how to access the tagged values in your model while looping through all elements then dumping them to a .CSV file.
The Delphi Template example is a template or skeleton for creating an Add-In using the Delphi Language.