Creo ModelCHECK > Configuring PTC Creo Modelcheck > Setting Up the Condition Files > Setting Up the Condition File: condition.mcc > Example: OVERRIDE CHECKS Sample Lines Explained
  
Example: OVERRIDE CHECKS Sample Lines Explained
Lines in the OVERRIDE CHECKS section of the sample condition.mcc are explained as follows:
IF (NOCHECK) NOCHECK
Instructs Creo ModelCHECK to look for the existence of a parameter called NOCHECK. If it is found in the model, Creo ModelCHECK skips checking the model. Some more examples to configure Creo ModelCHECK for not checking the model are:
IF (SPECIFIC) NOCHECK
If the model contains a parameter named SPECIFIC, skip checking the model.
IF (SPECIFIC EQ PTC) NOCHECK
If the model contains a parameter named SPECIFIC with a value of PTC, skip checking the model.
IF (MODELNAME EQ 123*) NOCHECK
If the model name begins with 123, skip checking the model.
IF (MODEL_UNIT NEQ MM) AND (MODEL_UNIT NEQ INCH) NOCHECK
If the model units are neither millimeters nor inches, skip checking the model.
IF (MODEL_SIZE EQ LARGE) SHARP_EDGES = No
Instructs Creo ModelCHECK to look for a parameter called MODEL_SIZE and determine if it has a value of LARGE or not. If it does, Creo ModelCHECK does not run the sharp-edge check on this model.
IF (DRAWN_BY EQ John Wallace) MODEL_NAME = Error
Instructs Creo ModelCHECK to look for a parameter called DRAWN_BY and determine whether it has a value of John Wallace or not. If it does, Creo ModelCHECK sets the MODEL_NAME check to report an error if it fails (overriding whatever is in the check configuration file).
 
* Parameter names and values are case sensitive. If you want Creo ModelCHECK to accept both uppercase and lowercase versions of a parameter, specify them on two separate lines.