Cutting list rules - Condition column

 

Set the rule(s) for determining how the information box is set

 

 Enter the rule in box

 

blankbutton-new.gif Click on the button to pop up the Condition dialog

 

(Move to or click on the field to pop up the button)

 

The condition dialog provides help with creating rules. Each rule has the format: field, condition, value. e.g.

 

X>1000

 

In this example 'X' stands for the part length.

 

Field codes

 

The field codes are:-

 

P - [Part code]

M - [Material Code]

X - [Length]

Y - [Width]

Z - [Thickness]

Q - [Quantity]

G - [Grain]

O - [Over]

U - [Under]

E - [Edge] (Quick edging)

L - [Line number]

T - [Title]

N - [Optimising parameters]

S - [Saw parameters]

D - [Drawing source]

#1 to #99 - information box numbers

 

Condition

 

This can be one of following logical/mathematical symbols.

 

>     greater than

>=    greater than or equal to

=     equal to

<=    less than or equal to

<     less than

<>    not equal to

::    contains

 

Value

 

This can be any fixed value or text:-

 

35.0

MDF-15

'MDF-15'

 

The value can also be another field or information box.

 

[Length]

[Width]

#22

 

Examples

 

mct1930-01.png

 

For full details of how to refer to part list fields and information boxes in a rule or value see the topic: Cutting list rules - using part list fields

 

Comparing with blank values

 

Rules can be defined where the comparison value is blank. For example:-

 

Field           Expression     Condition       

[Info box 12]   use default    [Info box 12]=

[Info box 17]   20             [Info box 15]<>

 

The above rules act as follows:-

 

If box 12 is empty box 12 contains the text 'use default'

If box 15 is NOT empty box 17 contains the value '20'

 

- 'Empty' means no characters following the logic symbols

 

 

Notes

 

- If the information box field being compared is set to a data type of numeric then a numeric comparison is undertaken otherwise the default of a text comparison will be used.

 

 

See also