Updating all PTC profiles in 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 upgrade all the PTC profiles in a model.
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
Syntax:
ScfUtils -updateallprofiles Enterprise \\SQL\<server>@<instance>\<database>\<model>\<version>" [-B] [-A]
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 in which the PTC profiles require updating. The case of the name must be correct.
• <model> specifies the name of the Model in which the PTC profiles require updating. The case of the name must be correct.
• <version> specifies the version of the Model in which the PTC profiles require updating. If the Model has not been versioned, the version is 0.
• -B specifies create a new version of the model before updating the PTC profiles.
• -A specifies create a new version of the model after updating the PTC profiles.
Example:
ScfUtils -updateallprofiles Enterprise "\\SQL\MyServer@MODELER\MyDatabase\MyModel\0" -B