1. Preface
Enterprise Architect1 (EA) offers a wealth of API functions to support automated manipulation of UML models. For the beginner it is not easy to find a start. It is the intention of this book to help you getting a quick and smooth start
The contents of this book is the essence of a continuous work with EA since end 2003. Almost from the beginning on I have been playing with EA’s automation. I have fallen into quite some pitfalls. With this book I hope to prevent newcomers from falling into the same pits again.
This book starts with a short introduction that takes you to reasons for scripting. The following section about EA’s object model introduces the most important EA objects along with their attributes. The section about element creation and manipulation covers basic and a few advanced examples on how to populate a model with elements. The next section details the previously introduced objects. Attributes and operations are explained with references to GUI screenshots where applicable. Bits and pieces as an internal reference section details a couple of attributes. The final section shows screen-shots of many EA dialogues along with a back reference to where the single attributes are to be found in the API. So the circle is closed and you can see how GUI and API relate to each other.
I wish you will have fun when learning EA’s API and as much success as I had so far. If you find any errors or you think that something needs to be explained differently just drop me a note2.