NX Conditional Logic Statements
NX Conditional Logic Statements
OVERVIEW:
Allows you to embed IF-THEN-ELSE statements into parameter evaluation
Using dummy variables, you can build in checks for the user input routine (e.g. if whats entered
satisfies some criteria use it, otherwise use some default value)
Uses standard logic expressions (AND, OR, EQUAL TO, LESS THAN, GREATER THAN OR EQUAL TO,
etc)
Takes some forethought and planning to be valuable (see MODEL PLAN)
TO USE IT:
Logic statements can be entered either directly in the expression list, or can be applied in the spreadsheet.
The general format for them is:
Plate_th=2
p0=0.0
p1=.875
z_thick=if(Plate_th>=1&&Plate_th<=4)(Plate_th)else(1)
For the value of z_thick, if Plate_th is greater than or equal to 1 AND less than or equal to 4, use the value of
Plate_th as it is entered, otherwise use a value of 1. In this case, the users input satisfies our criteria so the
plate thickness would be 2,
CAVEATS: