Author Topic: Read Local Path Settings via C# Addin  (Read 7451 times)

1c3m4n

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Read Local Path Settings via C# Addin
« 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

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13286
  • Karma: +556/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Read Local Path Settings via C# Addin
« Reply #1 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

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8063
  • Karma: +118/-20
    • View Profile
Re: Read Local Path Settings via C# Addin
« Reply #2 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
« Last Edit: October 14, 2010, 08:26:02 am by simonm »

1c3m4n

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: Read Local Path Settings via C# Addin
« Reply #3 on: October 14, 2010, 10:44:58 pm »
Thank you !!!  :)