Attribute | Remarks |
LoadAddins () | Notes: Loads all Add-Ins from a repository when Enterprise Architect is opened from automation. |
Process externalEaProcess = Process.Start(repositoryFileInfo.FullName)
Some caveats with using GetActiveObject - it will attach to either the first or last instance of EA that has been started. There is no way for a user to specify which instance to attach too - the behavior is OS/version/build dependent. If you have multiple instances of EA started this call will give you all kinds of headaches.True. Though, I think that most of the users have only a single instance running. Especially in an environment with shared keys. But honestly, I had been fooled by that also in the past.
Stan.