Executing Archi Scripts that Work with Multiple Models from a Central Folder

Started by Iver, November 28, 2020, 07:29:09 AM

Previous topic - Next topic

Iver

Hi,

I am wondering if it is possible to execute jArchi scripts within the Archi interactive UI from a central folder that is, for example, adjacent to the folder that holds the .archimate file of the current model.  I would like to develop and use scripts that work with multiple models, but I find that it is only possible to create or reference folders that are in the same location as the .archimate file of the current model.  In fact, when I open and make current a second model after using scripts with the first model (without closing the first model), I find that the scripts panel still points to the directory of the first model. 

What I really want is to store all my scripts in one folder hierarchy, so it is easy to version them in Github and apply then to multiple models in different directories. 

Does anyone know how to do this?

Thanks,

Iver

Jean-Baptiste Sarrodie

Hi,

In fact it already works like that: the script folder is unique and has no link with the model being edited. Any script can be launched on any model.

Regards,

JB
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

Iver

JB,

Thanks for your quick and useful reply.  What I was really looking for is the ability to change the Scripts folder path, which I now remember that I can do via Edit-->Preferences-->Scripting.

Regards,

Iver