Visual Basic If 函数

您在指定模型尺寸时也可使用 Visual Basic If 函数。

此函数根据表达式求值而返回两个值之一。

例如,如果指定的方程式为 "D1@Sketch1" = (If("D1@Sketch4">15, 20, 10)) + 8,那么:

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