Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: mattb on June 17, 2007, 07:23:22 pm

Title: How to load plug-ins via COM?
Post by: mattb on June 17, 2007, 07:23:22 pm
  I am driving EA via it's Automation Interface, and I have found that my plugins are not loaded when I execute EA in this fashion.

 Is there a way to tell EA to load plugins via COM?  or a setting that will otherwise cause this?

 My only other solution is to start EA and connect to live process via COM {GetActiveOleObject()}, but I am not sure how reliable that will be  in a production environment.


Matt Brown
Sr Software Engineer
Intuit Inc.
Title: Re: How to load plug-ins via COM?
Post by: «Midnight» on June 18, 2007, 01:38:21 am
What about the Repository methods: IsTechnologyLoaded, ImportTechnology, and DeleteTechnology? These are defined as working with MDG technologies, but you could likely set your add-ins up to act appropriately - just ensure they respond to the required events (since the MDG events are not optional) and return an appropriate MDG name when queried.

[Note that the above are from EA 7.0, but I think they were in 6.5 as well.]

David