Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Topic |
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:
|
Available Resources Call an External Application Code Samples www.sparxsystems.com/resources/developers/autint_vb.html |
Tips and Tricks |
Also note these tips and tricks:
|
App Class Repository Class |
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 |