User's Guide > Core: Utilities > Running Creo ModelCHECK
Running Creo ModelCHECK
 
is an integrated application that runs transparently within . uses a configurable list of company design standards and best modeling practices. You can configure to run interactively or automatically when you regenerate or save a model.
Functions Introduced:
You can execute from an external application using the function ProModelcheckExecute(). The input parameters of this function are:
mdl—Specifies the model on which you want to execute .
show_ui—Specifies True to display the report in the Web browser.
Note:
 
The configuration option SHOW_REPORT in the config_init.mc file overrides the show_ui value.
mcMode—Specifies the mode in which you want to run . The modes are:
PRO_MODELCHECK_GRAPHICS—Interactive mode
PRO_MODELCHECK_NO_GRAPHICS—Batch mode
config_dir—Specifies the location of the configuration files. If this parameter is set to NULL, the default configuration files are used.
output_dir—Specifies a location for the reports. If this parameter is set to NULL, the default output directory is used.
The output parameters of this function are:
errors—Specifies the number of errors found.
warnings—Specifies the number of warnings found.
model_saved—True if the model is saved with updates, else false.
Было ли это полезно?