Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: lubos on November 26, 2008, 12:50:18 am

Title: EA Lite & Plugins
Post by: lubos on November 26, 2008, 12:50:18 am
Hello,

how can I distinguish the version of EA (Lite x Full) in an addin?
I have not find any suitable function in the API.

Thanks for any hints
Title: Re: EA Lite & Plugins
Post by: Aaron B on November 26, 2008, 11:51:38 am
Try reading the Repository.EAEdition property. Values should correspond to the EA.EAEditionTypes enumeration.  I believe EA Lite reports a value of -1.
Title: Re: EA Lite & Plugins
Post by: lubos on November 27, 2008, 11:24:09 pm
Thanks! That's I was looking for.
You right, it returns -1 for Lite version.

(This property is not defined in API help)