Parameters
Creo ModelCHECK includes a parameter check that verifies that the model parameters conform to your company standards. The following information can be verified in parameters:
• Parameter types viz, string, integer, boolean, real.
• Whether PDM designated.
• Whether values are assigned.
|
Empty strings are allowed. Real, integer and boolean parameters can also be created with default values. The default values are as follows:
• Real—0.0
• Integer—0
• Boolean—No
|
• Specific parameters with values from a standard list of valid values.
• Whether numerical parameters are less than, greater than or equal to a specific value.
• Whether string or boolean parameters are equal to a specific value.
• Whether string parameters contain specific letters or are of a specific length.
Use the following format in the start configuration file to rename parameters:
[MODE]_PARAMETER [name] [type] [equality] [value]
where
• [name] is the name of the parameter. The name is not case-sensitive.
• [type] is the type of the parameter. The following values are acceptable:
◦ STR—String value
◦ BOOL—Boolean value (Yes / No)
◦ INTEGER—Integer value
◦ REAL—Real value
◦ NONE—No standard type
• [equality] is the equality. The following values are acceptable:
◦ EQ—Equal to a value or a list of values
◦ NEQ—Not equal to a value or a list of values
◦ LT—Less than
◦ GT—Greater than
◦ LTE—Less than or equal to
◦ GTE—Greater than or equal to
• [value] is the value. The value is case-sensitive. The following values are applicable:
◦ The exact value can be specified, or a number can be given for less-than or greater-than checks.
◦ PDM can be specified if the parameter is supposed to be PDM designated.
◦ NULL can be specified if the parameter does not have an assigned value.
◦ *, ?, #, and $ can be used as wildcards, where
▪ *—Any number of characters
▪ ?—One character (numerical, alphabetical, or symbol)
▪ #—One numerical character
▪ $—One string character
|
You cannot use wildcards with parameters of type REAL.
|
◦ LIST_XXX can be specified where XXX is the name of a list of acceptable values.
PRT_PARAMETER DRAWN_BY STR EQ LIST_DESIGNERS
Specify each member of the list on a separate line in the start configuration file:
LIST_DESIGNERS Michael Jordan
LIST_DESIGNERS Grant Hill
LIST_DESIGNERS Penny Hardaway
This list would allow the three names as acceptable values for the given parameter.
For example:
PRT_PARAMETER MODEL STR EQ circ
PRT_PARAMETER PN NONE EQ PDM
PRT_PARAMETER PN NONE EQ ????-???
PRT_PARAMETER COMPANY STR EQ PTC
PRT_PARAMETER EMPTY NONE EQ NULL
PRT_PARAMETER DRAWN_BY STR EQ LIST_DESIGNERS
PRT_PARAMETER RELEASED BOOL EQ YES
PRT_PARAMETER DRAFT_ANGLE REAL LTE 5
PRT_PARAMETER DESCRIPTION STR EQ *test
PRT_PARAMETER MATERIAL STR EQ PDM
PRT_PARAMETER RC_MODEL_TYPE STR EQ LIST_MODEL_TYPE
PRT_PARAMETER ENG_PRJ_NO STR EQ PDM
PRT_PARAMETER DEPARTMENT STR LTE LENGTH_12
PRT_PARAMETER MASS REAL
PRT_PARAMETER VOLUME REAL
PRT_PARAMETER MC_INT INTEGER EQ 12345
PRT_PARAMETER MC_REAL REAL EQ 5.33
Wildcard examples:
• *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.
|
Parameters in the model that are not listed as start items can be reported as extra parameters by setting the EXTRA_PARAMS check in the check configuration file. Creo ModelCHECK lists extra parameters and you can delete them from the model.
|