Automation Interface Examples: Introduction


This page provides code examples that use the Automation Interface.

 • Visual Basic Automation Interface 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.

    1. Document Reports - An interface with MS Word for generating documents.
    2. Custom Views - a graphs report Add-In for display in a diagram view.
    3. Set up VB - How to set up Visual Basic.
    4. Call from EA - Setting up an Add-in interface.
    5. References - Guidelines on the use of the Automation Interface

Both 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".

 

Available Resources

 • 

C# How to create a Basic Add-In

The C# "How to create a Basic Add-In for EA" explains how to configure the registry, VS2003 and EA to start communicating using C#.NET code examples.

    1. C# Basic Add-In Example - A template for creating internal Add-In using the Automation Interface with C#

 • 

Delphi Automation Interface Examples

The Delphi Automation Interface example is a skeleton for creating an Add-In using the Delphi Language.

    1. Delphi Automation Interface Example - A template for creating Add-Ins using the Automation Interface with Delphi.

 • 

C# Automation Interface Examples

The C# Automation Interface example is a skeleton for creating an Add-In using the C# Language.

    1. C# Automation Interface Example - A template for creating Add-Ins using the Automation Interface with C#.

 • 

C# Automation Interface Examples - Tagged Value Access

The C# Automation Interface example - Tagged Value Access 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.

    1. C# Automation Interface Example- Tagged Value Access - A template for accessing Tagged Values in C#.