Duplicating 1:1 Views and (corresponding) Element from a Model to Another Model

Started by michel.wicky, June 21, 2021, 08:40:58 AM

Previous topic - Next topic

michel.wicky

Hello Everybody,
I'm searching for a plugin that allow to duplicates 1:1 (without changing the ids) one or more Views with their corresponding element from a Model to Another one. The goal is to export the target Model in Archimate Interchange format just for a limited set of Views and Elements.
Does something already exists somewhere ?
I just found CopyElementsToModel that partially solve the problem.
Thanks for taking care.
Michel

Phil Beauvoir

Hi,

could you simply make a copy of the file, open it and remove all unwanted Views and concepts then export?

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

michel.wicky

Thank you answering Phil.
We have thousands of elements and many, many views with sometimes confidential information.
It makes more sense to export only the elements and relations of a view.

Jean-Baptiste Sarrodie

Hi,

Quote from: michel.wicky on June 21, 2021, 12:00:25 PM
We have thousands of elements and many, many views with sometimes confidential information.
It makes more sense to export only the elements and relations of a view.

That's really easy to create a script which removes everything but the view itself and its content. This involves moving the view to the root of "Views" folder, removing any other view, then running a script like this one.

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.

michel.wicky