Model Analysis > Creo ModelCHECK > PTC Creo Modelcheck Operating Modes > To Configure Creo ModelCHECK for Shape Indexing
To Configure Creo ModelCHECK for Shape Indexing
1. Create a new folder, for example, D:\PTC\MC_CONFIGS.
2. Set the MCDIR environment variable to point to the new folder. You must set this variable at the system level or in the Creo Parametric batch file, <Creo Parametric load point>\bin\proe.bat.
The syntax in a Windows batch file is as follows:
set MCDIR= D:\PTC\MC_CONFIGS
3. Copy the config_init.mc and the condition.mccconfiguration files to the new folder
4. Using a text editor, create the following empty configuration files in the same folder as the config_init.mc and the condition.mcc files:
shape_index.mch
shape_index.mcs
shape_index.mcn
The *.mcq status file listed in the default condition.mcc file is relevant to the batch processes and is not required.
Any option excluded from the configuration files is interpreted as having a NULL or NO value. This makes it easy to develop a new set of configuration files explicit to a particular operation such as shape indexing.
5. Edit the config_init.mc file in a text editor and enable the following options:
MC_ENABLE Y/N/A Y
CNFG_SELECT_AUTO Y/N/A Y
MC_MODE Y/N Y Y N N
WC_DUPINFO Y/N Y
6. Edit the condition.mcc file in a text editor as follows:
! Conditional file for ModelCHECK.
! Date: 04-12-2004
# SET CONFIG FILE
# Just using the else statement will use one set of configuration files for all files
ELSE config=(shape_index.mch)(shape_index.mcs)(shape_index.mcn)
# OVERRIDE CHECKS
# Deliberately exclude the following model types
IF (MODEL_TYPE EQ PRT_SKELETON) NOCHECK
IF (MODEL_TYPE EQ ASM_INTERCHANGE) NOCHECK
IF (MODEL_TYPE EQ ASM_MOLD_LAYOUT) NOCHECK
IF (MODEL_TYPE EQ PRT_PIPE) NOCHECK
IF (MODEL_TYPE EQ PRT_HARNESS) NOCHECK
# Exclude Part Family Table Generics that are not sheet metal
IF (FT_GENERIC_PRT) AND (MODEL_TYPE NE PRT_SHEETMETAL) NOCHECK
# Exclude Assembly Family Table Generics
IF (FT_GENERIC_ASM) NOCHECK