remove elements

Started by margolyesh, August 08, 2024, 16:51:35 PM

Previous topic - Next topic

margolyesh

Hi,
How can I remove all elements from the view?
Or the view itself with all the elements?

Phil Beauvoir

Hi, you can "Select All" or the elements you want to delete in the View and then select "Delete from View". To delete the whole View select it in the Models Tree and select "Delete".
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

margolyesh

Thank, but I mean jArchi.

Phil Beauvoir

Sorry, I didn't notice this was in the jArchi section.

This is the basic method:

selected.delete()
See https://github.com/archimatetool/archi-scripting-plugin/wiki/All-Objects#delete
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

margolyesh