Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Marty Burns on January 15, 2013, 03:12:35 am

Title: Adding local path entries via API
Post by: Marty Burns on January 15, 2013, 03:12:35 am
We have an application that needs a local path entry (the “Settings\Local Directories and Paths”). We want to reference this path in notes fields in the model. This allows us to "localize" a repository to a particular developers desktop allowing the repository to be otherwise shared.

Can we add an etry to this via the API?

Thanks,
Marty
Title: Re: Adding local path entries via API
Post by: qwerty on January 15, 2013, 03:22:08 am
Not sure what you want to add where. The paths are stored in a file in %APPDATA%/Sparx... and you can manipulate it at will.

q.
Title: Re: Adding local path entries via API
Post by: Marty Burns on January 15, 2013, 03:37:34 am
Thanks. So basically the file paths.txt needs to be edited, right.
Title: Re: Adding local path entries via API
Post by: qwerty on January 15, 2013, 03:55:04 am
Yes. Not sure whether EA reads that file only once at start (I guess so) or each time a path is read by EA.

q.