Solids Builder - Set Parameter
Set Parameter - sets a value to a Device Properties:
The Set Parameter activity has the following properties:
- Name - name of the activity
Note that the name here does not need to follow the naming rules
- Parameter Name - chosen from the list of parameters:
- Value - any value, Visual Basic expression that is evaluated for the informed type, examples:
- Double: 0.5 (the decimal separator is the dot (.))
- Int32: 54
- String: "TEXT"
- VB Expressions:
- Width + Wall
Assuming they are two variables or parameters
- Height * Length * Width
In the example, the expression calculates the external volume of the body of a box
- Line.StartPoint
assuming that Line is an GeometryCurve
- Math.Cos(Angle)
Assuming that Angle is a variable that contains an angle given in radians
- True
Assuming the type is a Boolean
- A*X^2+B*X*C
Equations must be well written!
(the above equation is different from: A*x² + B*x + C)