| # Defining Constraints If you define constraints, you must define the constraint lines in a specific syntax. A constraint consists of the following components: If (condition) Then (action) Else (action) (not mandatory) Example If the color of the seat is red Then the material of the seat is cotton Else the material of the seat is linen. In the If component of the constraint you formulate one of the following: A comparison between an aspect and a value. A comparison between a calculation result and a value. (Depending on whether the result of the comparison is True or False, the constraint executes the Then component or the Else component.) An action ( Then or Else) describes: The selection of a value for an aspect. The exclusion of a number of possible values, depending on the values of preceding aspects. Specific menu If you click Make Sequence Number Consecutive on the appropriate menu, the sequence numbers of the constraint lines are consecutive. For example, if you have two constraint lines with sequence numbers 1 and 3, and you carry out this command, the constraint lines receive the sequence numbers 1 and 2. If you start the Constraints (translated) (tigrt0586m000) session from the appropriate menu, you see a more user-friendly translation of the constraint. Related topics Setting up a classification structure in GRT |