You can also use the with syntax to set the
Expression and
Description for several parameters, for example:
You would typically use the Editor Tools window for generating code for setting the value of a global parameter. While in the Method Editor, right-click the parameter and select
Set.
To get the global parameter L and store it in a double variable
Length:
To get the parameter L2 and store it in a double variable
Length2:
Multiply the value of the variable Length with
2 and write the result to the parameter
L including the unit of
cm.