Query and update the model from outside Archi IDE?

Started by LapizLazuli, April 15, 2023, 07:45:56 AM

Previous topic - Next topic

LapizLazuli

Hi,

First sorry if this has been asked. I searched the forum, without finding any entry. Here is the question:

jArchi is very powerful to extend Archi features. However, unless I'm missing something, it runs only from the Archi IDE. Is there a way to programmatically query and update the model - and possibly the views - from outside the Archi IDE? That is, API's exposed externally to the IDE?

If yes, do they also work for models shared on a Git server, using coArchi?

Thanks and regards.
 

Jean-Baptiste Sarrodie

Hi,

There's no way to work on a model created with Archi outside Archi. But you can run Archi in command line and run scripts on model. See https://github.com/archimatetool/archi/wiki/Archi-Command-Line-Interface

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.

LapizLazuli

Hi,
Thank you for the reply.

Quote from: Jean-Baptiste Sarrodie on April 15, 2023, 19:14:46 PMThere's no way to work on a model created with Archi outside Archi.

It seems here that I haven't been quite clear, sorry about it. My question was not so much to work on a model outside Archi *as a whole*, but only outside the IDE. That is, without the user interface. But still using the Archi "engine".

Quote from: Jean-Baptiste Sarrodie on April 15, 2023, 19:14:46 PMBut you can run Archi in command line and run scripts on model. See https://github.com/archimatetool/archi/wiki/Archi-Command-Line-Interface

Awesome, thank you! That seems to answer the ask, at first sight, since it enables to interact with Archi in the background, outside of the UI.

Regards.