The Simple node is used to perform simple calculations in the modeling tree.
-
In the form ( > > ), in the lower pane, right-click the node, point to and select .
A new node will appear at the bottom of the modeling tree. If you want to insert a node into a particular position in the tree, drag it from the node list displayed on the left.
-
In the field, type a description for the node.
-
Select the variable that will receive the calculation result in the field.
-
In the lower pane, you can build a mathematical expression – a calculation formula – that specifies the calculation to be performed by the node. The expression consists of one or more lines and each line specifies an operand and an operator. Press CTRL+N to create a new line.
-
In the field, select whether the operand specified on this line, that is, the content of the field, is a fixed value or a variable.
-
Specify the operand for the expression you are building in the field. Depending on the choice made in the field, the operand can be either a fixed value or one of your product model's variables. If you specify a variable that is an array, note that you must select the specific array element that you want, not just the name of the variable.
-
In the field, specify an operator that connects the current line with the next line to form an expression or a part of the larger expression.
-
Click to test the code syntax.
-
Click OKto save the code.