Set Variable Value
Assign a value to a previously defined variable.
Specify the following parameters in the Properties panel.
| General | |
| Name | Specifies a variable that has been defined in the flowchart. |
| Variable Value | Specifies the value to use for the variable. Click [...] to open the Expression Editor, where you can enter or calculate a value. |
| Miscellaneous | |
| Comment | Indicates notes about the variable. Comments can be displayed in the Preview panel. |
To see an example of how this geometry element is used, open the following Sample PKT file:
Set Variable Value Example.pkt
In this example, variables are used to define the height and width of a retaining wall footer. The height and width of the footer varies depending on the distance between two target surfaces.
Height and
Width are defined.
Decision uses an expression that determines the distance from P2 to Surface 2.
Height and
Width Variable Values are set in one of two ways.
Footer sequence applies the appropriate
Height and
Width values to create the geometry of the footer. 