Merge Project files

You can merge one file to another.

  1. Open one .axmz file and go to [File] – [Compare Project and Merge].
    Merge files created by Astah System Safety

  2. Select another .axmz file.

  3. [Differences] pop-up opens with a list of diagrams and models of both project files in a tree view side-by-side.
    Astah System Safety Differences in a list

  4. Click [Merge] button.
    Merge button on Astah System Safety

  5. Two merge options will appear. Choose which file to prioritize, and click [OK].
    By clicking [OK], all the models that exist only in one file will be merged. If there are the same models in both files but something is different, the ones in a file you chose will prevail.
    Astah System Safety Merge Options
section divider

If you’d like to compare differences

If you’d like to see the difference of diagrams and models in two files, click [Open Compare Diagram] button.

How to compare models
section divider

Notes

[Merge] does not work for the following diagrams. Ones in you chose at step.5 will stay.

  • Activity diagram
  • Statemachine diagram
  • Sequence diagram
  • Mind map
  • Any changes related to decompositions in Safety Concept Diagram
section divider

Reset Model ID

All the model elements you create in Astah System Safety will have ID internally – we call this “Model ID”. When you merge files, Astah will look into the Model ID and merge the model elements if they have the same Model ID.

When you clone your .axmz files, the Model ID will not be regenerated so it uses the same ID as the original file. In case you merge a file with another file that was created by closing the original one, you may want to reset Model ID of one file to prevent the unintentional result.

To reset the Model ID, go to [Tools] – [Correct Model] – [Reset All Models’ ID].
Reset Model ID

Read before you reset Model ID

  • You cannot [undo] after resetting the Model ID.
  • We recommend you create a back-up file before you reset Model ID.