Creo ModelCHECK > Configuring PTC Creo Modelcheck > Integrating PTC Creo Modelcheck with a PDM System > PTC Creo Modelcheck Gatekeeper > About Configuring Creo ModelCHECK for Gatekeeper
About Configuring Creo ModelCHECK for Gatekeeper
You must configure Creo ModelCHECK so that it creates the relevant validation results required by the gatekeeper and stores these results in the parameters of models to be checked in. Make sure that the following options are set to Y in the config_init.mc configuration file:
ADD_DATE_PARM—Creates the MODEL_CHECK parameter that captures the date and time when Creo ModelCHECK was last run.
ADD_ERR_PARM—Creates the MC_ERRORS parameter that captures the number of errors found in the model when Creo ModelCHECK was last run.
ADD_CONFIG_PARM—Creates the MC_CONFIG parameter that captures the names of the Creo ModelCHECK configuration files used for the final check of the model.
ADD_MODE_PARM—Creates the MC_MODE parameter that captures the mode in which Creo ModelCHECK was run on the model.
ADD_VERIFIED_PARM—Creates the MC_VERIFIED parameter that verifies if the model has changed since the last Creo ModelCHECK run.
Edit the config_init.mc file in a text editor or use the ModelCHECK Configuration Tool to set these configuration options to Y. Each time you run Creo ModelCHECK , these parameters are added to the models. These parameters are read-only and are driven by Creo ModelCHECK.
* 
In addition to the above options when the option UPDATE_MC_PARAMS is also set to Y, the gatekeeper parameters MC_ERRORS, MC_MODE, MODEL_CHECK, and MC_CONFIG are updated each time MC_MODE changes. For example, if you run Creo ModelCHECK in interactive mode and then change to save mode, all the gatekeeper parameters are updated even if the model has not changed.
By default, Creo ModelCHECK configuration files are located in <modelcheck-loadpoint>/text/<language>/config. If you store them in an alternate location, you must ensure that the MODELCHECK_DIR configuration option in your config.pro file points to this location. This config.pro option allows you to override the settings of the MCDIR environment variable and point to configuration files different from the files specified by the MCDIR environment variable. It provides greater administrative control of the use of the configuration files.
If you have set the MODELCHECK_DIR configuration option in your config.pro file to point to the location of the configuration files, you can set the MC_AUTHORIZATION_FILE configuration option to Y in the config_init.mc file to use an authorization file that limits access to the configuration files. Administrators can have full access to these configuration files while other users only have read-only access. PTC recommends that you store the Creo ModelCHECK configuration files in an accessible network drive location. You cannot store them in Windchill.
Was this helpful?