Creo ModelCHECK > Configuring PTC Creo Modelcheck > Setting Up the Condition Files > Setting Up the Condition File: condition.mcc > Items You Can Use in Equality Statements
  
Items You Can Use in Equality Statements
The items you can use in the equality statements follow.
Item
Name
User currently logged in
USERNAME
User’s group
GROUPNAME
Name of the current model
MODELNAME
If the model is a generic of a family table
FT_GENERIC_PRT and FT_GENERIC_ASM
If the model is an instance of a family table
FT_INSTANCE_PRT and FT_INSTANCE_ASM
Model units
MODEL_UNIT
Version of Creo Parametric
PRO_VERSION
Date created
DATE_CREATED
Model type
MODEL_TYPE
Parameter
See Below
In the case of USERNAME, GROUPNAME, MODELNAME, and PARAMETER, variables can be specified using the following metacharacters:
*—Any number of characters
?—One character
#—One numerical character
$—One string character
Examples of valid values include (USERNAME EQ p*), (MODELNAME EQ 132.321.*), (PARAMETER EQ ??AC).
MODEL_TYPE allows you to specify a combination of configuration files based on different part types. The part types are:
PRT_SOLID—Model sub type is solid part.
PRT_SHEETMETAL—Model sub type is sheet metal part.
PRT_SKELETON—Model type is skeleton.
PRT_PIPE—Model has a feature of type PRO_FEAT_PIPE.
PRT_HARNESS—Model type is harness part.
ASM_DESIGN—Model sub type is a design assembly.
ASM_INTERCHANGE—Model sub type is an interchange assembly.
ASM_MOLD_LAYOUT—Assembly type is mold layout.
 
* If you have more than one condition for part types, the first condition that is satisfied is applied. Models can satisfy more than one condition (for example, a pipe is also a solid), which makes the order of conditions in the condition.mcc file very important.
* Note that PRT_PIPE is not for piping systems created using the Piping module but only for models that contain pipe features.