archimatetool / archi

Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
MIT License
946 stars 269 forks source link

[feature request] Add a "Delete All" function for unused elements and relations #735

Closed vbo75 closed 3 years ago

vbo75 commented 3 years ago

Hi, Modeling generates many unused elements and relations. Deleting one by one is a waste of time. Is it possible to add a "Delete All" function for unused elements and relations of a model ? Thanks a lot.

jbsarrodie commented 3 years ago

Hi,

In fact there's already a way to delete such unused concept:

Another optioin is to use a jArchi script such as this one.

sonear commented 3 years ago

I use the following process

  1. Validate model
  2. Select the first item to be deleted in the validate results
  3. Scroll to Bottom of list of elements or relations you want deleted the hold down shift and click on the item... Or control click a set of more than one items
  4. Right click on your highlighted set and select 'reveal'. This highlights all of the elements/relations in the model tree. If you have a large model you won't see them all highlighted... Know that they are
  5. Over in the model tree, right click on one of the highlighted items
  6. Choose delete
  7. Now validate model again... The previously selected items should now be gone.

Note... This was all written from memory. Also note I use Mac version of archi. Instructions should be directionally correct.

Hope this is what you are looking for.

Scott Griffith

Phillipus commented 3 years ago

As this is answered, I'll close it.