How to do a selective export of a model - archimatetool/archi GitHub Wiki

If you have only one view to export, the easiest way is to:

  • open your model and the view you want to export
  • select everything in the view (Ctrl-A)
  • copy the content (Ctrl-C)
  • create a new model (Ctrl-N), it will contain a new "Default View" which is empty and opens by default
  • paste into this new empty view (Ctrl-V)
  • If you entered text in the view's documentation field, then switch back to the original view, copy this text, switch again to the new "Default View" and past it.
  • rename the "view"Default View" and the newly created model.
  • export this new model to the exchange file format, and save it to a native .archimate file if you want.

If you have more views to export, then:

  • create a copy of your model (use the Save As" feature), then in this copy...
  • delete all the view you don't want to share
  • opens the Validator and configure it to only check "unused elements" and "unused relationships": Screenshot from 2020-11-03 20-57-38
  • runs the validator, this will list all unused concepts
  • in the validator tab, select all "Unused" warnings (Ctrl-A), right clic to show the contextual menu and then select "Reveal Object" (this will select all unused concepts in the model tree)
  • In the model tree, right clic on one of the selected objects and choose "Delete". This will delete all unused concepts (selected at the previous step)
  • export this new model to the exchange file format, and save it to a native .archimate file if you want.