Versioning 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
Through ScfUtils, you can create a new version of a Model. You can create a new version of a model version only if that model version is the tip version of the trunk, or the tip version of a branch that has not been reconciled.
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
For information about versioning a Model through Model Explorer, click here
Creating a new version of a model
Syntax:
ScfUtils -versionmodel Enterprise \\SQL\<server>@<instance>\<database>\<model>\<version>"
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 version. The case of the name must be correct.
• <model> specifies the name of the Model you want to version. The case of the name must be correct.
• <version> specifies the tip version of the Model you want to version. If the Model has not been versioned, the version is 0.
Example:
ScfUtils -versionmodel Enterprise "\\SQL\MyServer@MODELER\MyDatabase\MyModel\0"