Model Name
Creo ModelCHECK can verify that Creo Parametric model names, instances, and simplified representations conform to company-specific naming standards in the following ways:
• Are file names less than, equal to, or greater than a specific number of characters?
• Do file names consist of only characters or only numbers?
• Do file names contain specific strings?
Use the following format in the start configuration file to configure layers:
[MODE]_[MOD_INST]_NAME [equality] [value]
where
• [MODE] is PRT, ASM, or DRW.
• [MOD_INST] is MODEL, INSTANCE, or SIMPREP.
• [equality] is the equality relationship. Acceptable values are:
◦ EQ—Equal to
◦ NEQ—Not equal to
◦ LT—Less than (only for length)
◦ GT—Greater than (only for length)
◦ LTE—Less than or equal to (only for length)
◦ GTE—Greater than or equal to (only for length)
• [value]is the value of the model name. Rules for values are:
◦ Do not specify exact values, because each Creo Parametric model has to have a different name.
◦ Use ALL_CHARACTERS to verify that all models have names that consist only of characters. This check ignores dashes (-) or underscores (_) found in names.
◦ Use ALL_NUMBERS to verify that all models have names that consist of only numbers. This check ignores dashes (-) or underscores (_) found in names.
◦ Use LENGTH_## where ## is a number. This check verifies that the number of characters in model names is either less than, less than or equal to, equal to, greater than, or greater than or equal to a specific number.
◦ *, ?, # , and $ can be used as wildcards, where:
▪ *—Any number of characters
▪ ?—One character (numerical, alphabetical, or symbol)
▪ #—One numerical character
▪ $—One string character
• For DRW_MODEL_NAME, a value of FIRST_MODEL can be specified if you want to check that the name of the drawing is the same as the first model added to the drawing.
• Specify LIST_XXX to refer to a list of acceptable values.
Specify each member of the LIST_NAMES list on a separate line in the configuration file as follows:
LIST_NAMES CE_*
LIST_NAMES CD_*
LIST_NAMES EO_*
This check would verify that all model names begin with CE_, CD_ or EO_. Alternatively, you can refer to a text file that contains the list, as follows:
LIST_NAMES text/list.txt
For example:
PRT_MODEL_NAME EQ ALL_CHARACTERS
PRT_MODEL_NAME EQ ALL_NUMBERS
PRT_MODEL_NAME EQ LIST_NAMES
PRT_INSTANCE_NAME EQ XYZ_*
PRT_INSTANCE_NAME EQ GENERIC
ASM_MODEL_NAME LT LENGTH_12
ASM_INSTANCE_NAME EQ E_##_*
DRW_MODEL_NAME EQ CD_*
DRW_MODEL_NAME EQ ???_CD
DRW_MODEL_NAME EQ FIRST_MODEL
Examples of wildcards:
• *test—The value has to end in test, so model test would be an acceptable value.
• ??-??—The value has to be five characters long with a hyphen (–) as the third character.
• ####-$000—The first four characters have to be numbers, the fifth character has to be a dash (-), character number 6 has to be a letter, and the last 3 characters have to be zeros (0).
• ???_*—The first three characters can be any characters followed by an underscore.