Model, Component, and Package Management > Model management > Model Explorer > Command line interface - ScfUtils > Rebasing a model through ScfUtils (Model Explorer)
  
Rebasing a model through ScfUtils (Model Explorer)
ScfUtils provides a command line interface for performing Model Explorer functions. For a complete list of ScfUtils functions, click here Overview of command line interface for Model Explorer functions (Model Explorer)
Through ScfUtils, you can rebase the tip version of a branch.
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 rebase a model you require a Modeler license and a CM Integration license.
Syntax:
ScfUtils -rebasemodel 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 Model you want to rebase. The case of the name must be correct.
<model> specifies the name of the Model you want to rebase. The case of the name must be correct.
<version> specifies the version of the Model you want to rebase. Note that you can only rebase 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 rebase operation. Important: Use the -X argument only if you are sure that no other users are using the two source model versions for the rebase operation.
Example:
ScfUtils -rebasemodel Enterprise "\\SQL\MyServer@MODELER\MyDatabase\MyModel\0.0.1" "c:\my folder\my logfile.txt"