Book a Demo

Author Topic: Retrieve local path... from an add in  (Read 2911 times)

EAaddinHelpD

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Retrieve local path... from an add in
« on: March 10, 2011, 09:09:36 am »
In my add-in how can i retrieve the value of the Settings\Local Path...


let take myClass of type EA.ElementClass
myClass.GenFile with value of %MyLocalPath%/blablabla

how can i retrieve the value of %MyLocalPath%

thz in advance

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Retrieve local path... from an add in
« Reply #1 on: March 10, 2011, 07:08:00 pm »
I think the only solution is to read the paths.txt in the users profile: C:\Documents and Settings\[username]\Application Data\Sparx Systems\EA

Geert