You can customize the project comparison procedure by changing Merge and Compare options in the Environment Options dialog.


To access Merge and Compare environment options


  1. In the main menu, select Options > Environment.
  2. In the Environment Options dialog, expand the General option group and select Merge and Compare options.



You can use Merge and Compare environment options to customize model comparison in the following ways:

  • Change the optimization mode:
    To compare models faster, set the Optimize for option to Speed . This is the default setting, and it is sufficient for most projects. However, the Speed option requires more memory. To compare large models, set the Optimize for option to Memory. Sometimes the memory required for the Speed mode exceeds the memory allocated for the modeling tool. In this case, switch to the Memory mode, which conserves memory. However, this option slows the procedure down considerably.

  • Disable order changes detection in properties/tags:
    In the Do Not Detect Order Changes for option value cell, specify the names of properties/tags whose order changes should not be detected while comparing projects.

    Property/tag names must be written in camel case, for example, ownedAttribute, ownedElement, etc.

  • Enable the detection of changes in derived properties:
    In the Detect Changes in Derived Properties option value cell, specify the derived properties whose changes you want to track while comparing projects.
    • Derived properties should be specified using the following format: <ElementType>.<derivedPropertyName>. Element type must be written the same way as it is shown in the element Specification window, and derived property name must be written in camel case. For example, the Type property of a Lifeline should be specified as Lifeline.type.
    • Keep in mind that tracking derived properties reduces merge performance.
  • Select which changes to detect in diagrams:
    To detect changes only in diagrams that were loaded (open) when the changes were made, set the Detect Changes in Diagrams option to Direct Changes. To detect changes in all diagrams of the model, set the Detect Changes in Diagrams option to All Changes.

For server projects

  • Partial locking of a project occurs when merging changes of a project in the Teamwork Cloud server. Only changed/updated and merged elements are locked in the project, not the whole project. Thus, actions with other server project elements are not interrupted for other users by locking and merging activities.
  • While a user performs the merge process in a server project on the Teamwork Cloud server, other users are not able to commit project changes to the server.