User's Guide > Core: Utilities > Running Creo ModelCHECK
Running Creo ModelCHECK
 
Creo ModelCHECK is an integrated application that runs transparently within Creo Parametric. Creo ModelCHECK uses a configurable list of company design standards and best modeling practices. You can configure Creo ModelCHECK to run interactively or automatically when you regenerate or save a model.
Functions Introduced:
You can execute Creo ModelCHECK 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 Creo ModelCHECK.
show_ui—Specifies True to display the Creo ModelCHECK 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 Creo ModelCHECK. 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 Creo ModelCHECK configuration files are used.
output_dir—Specifies a location for the reports. If this parameter is set to NULL, the default Creo ModelCHECK 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.
¿Fue esto útil?