Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: 1c3m4n on October 13, 2010, 07:40:04 pm

Title: Read Local Path Settings via C# Addin
Post by: 1c3m4n on October 13, 2010, 07:40:04 pm
Hi,

in EA you can set the local paths settings by clicking in the menue: Settins -> Local Paths

Is it possible to get the path and the ID which is entered in the local paths via C# addin?

I have searched in the EAUserGuide, but i haven't found anything about this.

Thanks !

Best regards,
Florian
Title: Re: Read Local Path Settings via C# Addin
Post by: Geert Bellekens on October 13, 2010, 09:47:50 pm
Florian,

I think they are stored in the paths.txt in the user profile:
C:\Documents and Settings\<username>\Application Data\Sparx Systems\EA

Geert
Title: Re: Read Local Path Settings via C# Addin
Post by: Eve on October 14, 2010, 08:19:49 am
The path would be something like the following on Vista / Windows 7.
C:\Users\<username>\AppData\Roaming\Sparx Systems\EA

To get it without worrying about operating system you can use the following path.
%APPDATA%\Sparx Systems\EA
Title: Re: Read Local Path Settings via C# Addin
Post by: 1c3m4n on October 14, 2010, 10:44:58 pm
Thank you !!!  :)