Prev | Next |
Examples and Tips
Points to consider
Subject |
Points |
See also |
---|---|---|
Examples |
Instructions for using the interface are provided through sample code. There are several sets of examples:
|
Call from Enterprise Architect Code Samples sparxsystems.com/resources/developers/autint_vb.html Available Resources |
Tips and Tricks |
Also note these tips and tricks:
|
Repository Class App Object |
Enterprise Architect Not Closing |
After all processing by an automation controller is complete, it is recommended to call CloseFile() and Exit() on the Repository object, then set all references to the repository object to null. repository.CloseFile(); repository.Exit(); repository = null; If your automation controller was written using the .NET framework, Enterprise Architect does not close even after you release all your references to it. To force the release of the COM pointers, call the memory management functions: GC.Collect(); GC.WaitForPendingFinalizers(); There are additional concerns when controlling a running instance of Enterprise Architect that loads Add-Ins - see the Tricks and Traps topic for details. |
Tricks and Traps |