Skip to end of metadata
Go to start of metadata

Two models or model packages can be compared. The compare function assumes that the selected two models or model packages are derived from each other. When for example, you have made some changes to a model that has been created from an existing model, then these changes can be shown when this model is compared with the original model. 

You can compare models within the same model package, but also two models in different model packages. Make sure the model package(s) containing the models you want to compare are open before comparing the models, otherwise the Compare function won't be available. This also applies to comparing model packages; both packages need to be open before you can start comparing them.


On this page:


Comparing models

To compare two models, follow these steps:

  1. In the model browser, select the model you want to compare to another model.



  2. On the Advanced tab, in the Inspect group, click Compare.

  3. In the Compare Models window, select the model you want to compare to and click OK. It may be another model in the same model package or a model in another model package.


As a result, the Compare Models window shows an overview of the changes that have been made in the selected model (To) compared to the model you selected in the model browser (From).

Expand a model to view the changes. If you want to see the comparison in the reversed direction, you can change the direction of the comparison.



The results can also be presented in the Worksets window.

Comparing model packages

To compare two model packages, follow these steps:

  1. In the model browser, select the model package you want to compare to another model package.



  2. On the Advanced tab, in the Inspect group, click Compare.

  3. In the Compare Model Packages window, select the model package you want to compare to and click OK.


As a result, the Compare Model Packages window shows an overview of the changes that have been made in the selected model package (To) compared to the model package you selected in the model browser (From).

Expand a model package to view the changes. If you want to see the comparison in the reversed direction, you can change the direction of the comparison.



The results can also be presented in the Worksets window.

Display of changes in the comparison

The results of a model (package) comparison are presented in a tree structure. It only shows those elements that contain changes. Any changes made to the object or any of its children are displayed at the location where the object is moved to. This way the tree structure follows the organization of the right model (package) in the chosen direction.



Icons in front of the model (package) components indicate the type of change:


added element (new element or a moved existing element)

deleted element (or a moved existing element), profile, or profile attribute value

message (for example, messages about changed names)

Changing the direction of the comparison

If you want to change the direction in which the two models or model packages are compared, click Swap at the top of the compare window. The list of changes is automatically updated and the changes are tailored to the comparison. When for example an object is added in the comparison in one direction, it will be considered as deleted in the reversed comparison.

Showing the comparison results in a workset

If you want the results of the comparison to be presented in the Worksets window, click the Compare to workset button at the bottom of the compare window. The data will be presented in a list.


Example of comparison results in a workset