Book a Demo

Author Topic: access local paths from addin  (Read 4460 times)

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
access local paths from addin
« on: February 04, 2015, 01:23:00 am »
Hi
Our model makes use of the local paths and directories feature.
We also have an addin that now has a need to access theses settings
For example one part of the addin wants to check that the source file associated with a class exists.
Currently it is receiving a value of %ROOT%...
Is there a way to find out what the value of %ROOT% is?

Thanks
Using V12

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: access local paths from addin
« Reply #1 on: February 04, 2015, 03:57:07 am »
Read the file %appdata%/..sparx../ea/paths.txt

q.