Reconciling a branch to the trunk through ScfUtils (Model Explorer)
Through ScfUtils, you can reconcile the tip version of a branch to the tip version of the trunk.
If you have installed Modeler to the default locations, ScfUtils resides in the following location:
C:\Program Files (x86)\PTC Integrity Modeler\Modeler\Exe\SCFUtils.exe
Note To reconcile a model you require a Modeler license and a CM Integration license.
Syntax:
ScfUtils -reconcilemodel Enterprise \\SQL\<server>@<instance>\<database>\<model>\<version>" "<log file>" [-X]
Where:
• <server> specifies the name of the server on which the Database resides. The case of the name must be correct.
• <database> specifies the name of the Database that owns the branch you want to reconcile. The case of the name must be correct.
• <model> specifies the name of the branch you want to reconcile. The case of the name must be correct.
• <version> specifies the version of the branch you want to reconcile. Note that you can only reconcile the tip version of an active branch.
• <log file> specifies the path and name of the log file in which you want to record any log messages.
• -X specifies that locks are cleared in the two source model versions before performing the reconcile operation. Important: Use the -X argument only if you are sure that no other users are using the two source model versions for the reconcile operation.
Example:
ScfUtils -reconcilemodel Enterprise "\\SQL\MyServer@MODELER\MyDatabase\MyModel\0.0.1" "c:\my folder\my logfile.txt"