Skip to main content

Check model change differences

Overview

Next Design allows you to check model change differences by comparing with previous project files or previous revisions managed by configuration.

The steps for checking model change differences are explained in the following order.

  • Select what to compare
  • Check the differences
  • Finish comparison

Select what to compare

There are several ways to compare projects:

  • Compare with the project file before the change
  • Compare with a previous revision
  • Compare between any revisions

The method for selecting what to compare for each of the above is explained below.

Compare with a project file before changes

To compare the project file you are currently editing with a project file before changes that is saved as a separate file, follow the steps below.

Compare with project file

Operation procedure
  1. From the ribbon, click [Team Collaboration] > [Difference] > [Comparison Target] and click [Compare with a Project File].
  2. In the [Select comparison project] dialog, select the project file to be compared and press the [Open] button.
  3. When the comparison target is selected, the differences are displayed in the Model Navigator and Model Editor.

Compare with a previous revision

To compare with a previous revision while editing a project registered in the configuration management repository, follow the steps below.

Comparison with revision

Operation procedure
  1. From the ribbon, click [Team Collaboration] > [Difference] > [Comparison Target] and click [Compare with a Revision].
  2. In the [Log Messages] dialog, select the revision to compare and press the [OK] button.
  3. When the comparison target is selected, the differences are displayed in the Model Navigator and Model Editor.

Compare between any revisions

To compare two revisions that have already been committed for a project registered in the configuration management repository, follow the steps below.

Compare Revisions

Operation procedure
  1. If you are using a configuration management repository from Next Design for the first time, register the configuration management repository in advance according to Linkage with configuration management system > Manage repositories to be used.
  2. From the ribbon, click [Team Collaboration] > [Difference] > [Comparison Target] and click [Compare Revisions].
  3. In the [Repository Selection] dialog, select the repository in which the project to be compared is registered and press the [Next] button.
  4. From the folders of the configuration management repository displayed in the tree, select the folder in which the project to be compared is stored and press the [OK] button.
  5. From the list of revisions displayed in the grid, select the two revisions to compare while holding down the ctrl key, and then click the [OK] button.
  6. When the revisions to be compared are selected, the differences are displayed in the Model Navigator and Model Editor.
Caution
  • When this function is executed, any open project files will be closed.
  • The project to be compared is opened as a temporary read-only file and cannot be edited.

Confirm Differences

Confirm Differences in the Model Navigator

When you select the revisions to be compared, the model icons and label colors change in the Model Navigator to show the differences in the project.

Diff display in Model Navigator

IconLabel colorMeaning
Normal iconNormal colorUnchanged model
Normal iconOrangeModel with a lower model changed
Changed ChangedOrangeModel that has been changed or child models have been added or deleted
Add AddedGreenAdded model
note
  • When a related model is added or deleted, the parent model and the other model with a reference relationship are also displayed as changed and are marked with a change.
Caution
  • Deleted models are not displayed in the model navigator. Instead, the parent model of the deleted model is displayed with a change mark, so you can check the deleted model from the change differences of the parent model.
  • If a child model is hidden in the model navigator, the icon and label color of the parent model will not change even if there is a difference in the child model.

Check the change differences in the model editor

When you select a comparison target, the before and after models are displayed side by side in the model editor so that you can see the change differences, and the change differences are displayed in different colors.

  • Example of difference display in diagram

Example of difference display in diagram

  • Example of difference display in other than diagram

Example of difference display in other than diagram

Other operation procedures
  • To temporarily switch the display/hide state of the model before the change, click [Team Collaboration] > [Difference] > [Show Diff Before] from the ribbon.
  • To temporarily switch the display/hide state of the change difference, click [Team Collaboration] > [Difference] > [Show Diff] from the ribbon.
Caution
  • Even if you display a model marked for change in the model navigator, the changes in that model may not be displayed. This is because property values and associations that are not displayed in the view may have been changed. In such a case, switch to another view to check, or display the Property tab in the Inspector to check the details of the model.
  • To check the deleted model, display the parent model marked with a change and check the comparison target before the change side by side.
  • If you are using the model reference control, even if there is a change in the referenced model, it will not be displayed as having differences. Check the presence or absence of differences in the referenced model's differences.

Checking change differences in the configuration editor

When you select a comparison target, the changes are displayed in color so that you can see the change differences in the configuration editor.

  • Example of difference display in the configuration editor

Example of difference display in the configuration editor

End comparing

To end the change difference comparison, follow the steps below.

End comparing

Operation procedure
  1. From the ribbon, click [Team Collaboration] > [Difference] > [End comparing].
  2. This will clear the difference display and return the comparison targets to unselected.