Comparison

The Comparison options let you customize the location where to find the tools for comparing, and eventually merging, classes in the Dymola Behavior Modeling app. The selection of tool is also handled.

Two tools are handled by default, WinMerge and KDiff3.

Important: These tools are not provided with 3DEXPERIENCE, you must install them yourself on your computer.

WinMerge path
To specify the path to the WinMerge tool, if that is installed.

By default, this text box is cleared.

KDiff3 path
To specify the path to the KDiff3 tool, if that is installed.

By default, this text box is cleared.

Custom comparator command line
This option lets you specify a specifies path to a custom comparison tool that is not any of the ones above.

The command line must look like this:

Folder1/Folder2/..../MyTool.exe optionsA... %input1 optionsB... %input2 optionsB... %output optionsC...

where %input1 and %input2 are aliases for the input fields and %output for the results. When the tool is launched, the aliases are replaced by the path of temporary files with the content of the compared models. optionsA, optionsB, and optionsC should be replaced by the actual command line options for the tool.

An example of such command line that would be triggered by Dymola Behavior Modeling, for the dummy tool MyTool.exe could be:

c:\ProgramFiles\MyTool.exe -compare c:\CATTemp\class1.mo c:\CATTemp\class2.mo
Notes:
  • For the Custom comparator command line, a tooltip displays the syntax.
  • If the custom tool is not found by the compare/merge command, a message appears. This check is performed when using the tool, not from this preference dialog.

By default, this text box is cleared.

Selected comparator
Set the comparator to be launched when this feature.
  • WinMerge: to use WinMerge
  • KDiff3: to use KDiff3
  • Custom: to use the custom comparator specified by the above option Custom comparator command line

By default, this preference is set to WinMerge.