Exporting a model through ScfUtils (Model Explorer)
ScfUtils provides a command line interface for performing Model Explorer functions. For a complete list of ScfUtils functions, Command line interface for models neighborhood functions
Through ScfUtils, you can export a Model. However, you cannot use ScfUtils to export a sandbox version of a model.
If you have installed Modeler to the default locations, ScfUtils resides in the following location:
C:\Program Files (x86)\Windchill Modeler\Modeler\Exe\SCFUtils.exe
For information about exporting a Model through Model Explorer, click here Exporting a model
To export a model, you must have Database Administrator, Database Owner, or Model Owner access permissions to the Model.
Syntax:
ScfUtils -exportmodel Enterprise \\SQL\<server>@<instance>\<database>\<model>\<version>" "<directory>"
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 export. The case of the name must be correct.
<model> specifies the name of the Model you want to export. The case of the name must be correct.
<version> specifies the version of the Model you want to export. If the Model has not been versioned, the version is 0. You cannot use ScfUtils to export a sandbox version of a model.
<directory> specifies the directory to which you want to export the Model. The directory must be empty.
Example:
ScfUtils -exportmodel Enterprise "\\SQL\MyServer@MODELER\MyDatabase\MyModel\0" "c:\my directory"