Model, Component, and Package Management > Model management > Model Explorer > Command line interface - ScfUtils > Getting the comment of a model through ScfUtils (Model Explorer)
  
Getting the comment of a model through ScfUtils (Model Explorer)
ScfUtils provides a command line interface for performing Model Explorer functions. For a complete list of ScfUtils functions, see Overview of command line interface for Model Explorer functions (Model Explorer)
Through ScfUtils, you can get the comment of a model version.
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 -getmodelcomment Enterprise \\SQL\<server>@<instance>\<database>\<model>\<version>" "<path and file name>"
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 for which you want to get the comment. The case of the name must be correct.
<model> specifies the name of the Model you want for which you want to get the comment. The case of the name must be correct.
<version> specifies the version of the Model for which you want to get the comment.
<path and file name> specifies the path and file name of the file to which you want to output the model version's comment.
Example:
ScfUtils -getmodelcomment Enterprise "\\SQL\MyServer@MODELER\MyDatabase\MyModel\0.0.1" "c:\temp\model comment.txt"