Creo ModelCHECK > Configuring PTC Creo Modelcheck > Setting Up the Condition Files > Setting Up the Condition File: setconf.mcc > To Manually Set Up the setconf.mcc File
  
To Manually Set Up the setconf.mcc File
The following process describes how to manually set up the setconf.mcc file using an example:
1. In the config_init.mc file, set the CNFG_SELECT_AUTO configuration option to N or A to allow users to decide what configuration files to use. If this option is set to Y, the configuration files to use are chosen automatically.
NCreo ModelCHECK requires you to choose the configuration files to run.
ACreo ModelCHECK prompts you to specify whether you want to load the configuration files or let Creo ModelCHECK select them automatically.
2. Open the setconf.mcc file using a text editor. This file is located in <creo_loadpoint>/modchk/text/<language>/config or in the directory that you specify with the $MCDIR environment variable. Edit the file or create a new file that sets the Load Config configurations. For example:
PDM=(checks/pdm.mch)(start/pdm.mcs)(constant/pdm.mcn)(status/pdm.mcq)
Light=(checks/simple_checks.mch) (start/default_start.mcs) (constant/mm.mcn) (status/default_status.mcq)
NoStart=(checks/default_checks.mch) (start/nostart.mcs) (constant/mm.mcn) (status/default_status.mcq)
In this example there are three possible configurations — PDM, Light, and NoStart. For each configuration we have defined a combination of check files, constant files and start files. All the configuration files you list in this file must be in the specified directories.
3. Save the setconf.mcc file.
4. Click File > Options to open the Creo Parametric Options dialog box.
5. Click Environment.
6. If the setconf.mcc file is set as in the previous example, the following configurations are listed in the Load Config drop-down list—Automatic, PDM, Light, NoStart provided that the text file msg_mc.txt is also configured to display these values
7. Select the configuration you want to use.
 
* If you click Automatic, Creo ModelCHECK automatically loads the configuration files based on the rules in the condition.mcc file.