Visual Basic If Function

You can also use the Visual Basic If function when specifying a model dimension.

This function returns one of two values depending on the evaluation of an expression.

For example, if the equation specified is "D1@Sketch1" = (If("D1@Sketch4">15, 20, 10)) + 8, then:

If "D1@Sketch4" is ... Then "D1@Sketch4">15, 20, 10 is set to And "D1@Sketch1" is set to ...
> 15 20 28
<= 15 10 18