Operators
Operators |
Use in Dependencies |
AND |
Two statements that are both either true or not true are linked with AND. Length = 300 and Width = 200 |
OR |
Two statements of which at least one is either true or not true are linked with OR. Color = ‘red’ or Basic_material = ‘wood’ |
NOT |
You can negate one or more expressions by using NOT. NOT (Color = ‘blue’) NOT (Color = ‘red’ and Basic_material = ‘wood’) |
IF |
Conditions in actions and procedures start with IF. Color = 'red' if Model = ‘A’ |
Special Features
Lists |
In lists, the individual elements are always separated by commas. COLOR = 'RED' IF MODEL = 'A', |
Case sensitivity |
In characteristic names, object variables, and operators, there is no distinction between upper case and lower case letters. |
Concatenation
LC |
All letters are converted to lower case. Leather_saddle = LC('Alpha') = 'a' |
UC |
All letters are converted to upper case. Leather_saddle = U C('Alpha')= 'A' This function is important if the assigned characteristic does not allow lower case, but the assigned expression may contain lower-case letters. |
|| |
The string is cut off at the maximum number of 30 characters. Leather_saddle = Alpha || Beta = 'AB' |
List of Built-In Conditions
Expression |
Implied Condition |
SPECIFIED |
Characteristic has a value: SPECIFIED COLOR See Built-In Condition SPECIFIED |
IN |
One of these values must be set: COLOR IN (‘red’, ‘green’, ‘blue’) See Built-In Condition IN |
TYPE_OF |
Only for certain objects: TYPE_OF ($ROOT, (Material) (300) (NR = 'U91’)) See Built-In Condition TYPE_OF |
PART_OF |
The object is a component of a BOM (only in constraints). See Constraints: Entering Conditions |
SUBPART_OF |
The object is a component of an assembly that is part of the BOM of a configurable material (only in constraints). |