Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Code Samples

This topic contains various code examples indicating how to use the Automation Interface, written in VB.Net:

Topic

Link

Open the Repository

 

Open the Repository

Iterate Through a .EAP File

 

Iterate Through a .EAP File

Add and Manage Packages

 

Add and Manage Packages

Add and Manage Elements

 

Add and Manage Elements

Add a Connector

 

Add a Connector

Add and Manage Diagrams

 

Add and Manage Diagrams

Add and Delete Features

 

Add and Delete Features

Element Extras

 

Element Extras

Repository Extras

 

Repository Extras

Stereotypes

 

Stereotypes

Work with Attributes

 

Work with Attributes

Work with Methods

 

Work with Methods