IVariables Interface |
Namespace: EMInvent.InventSim.COMServer
The IVariables type exposes the following members.
| Name | Description | |
|---|---|---|
| Add |
Adds new variable to the project. Once the variable is added, Expression is evaluated to calculate
variable DoubleValue. If equation is specified as the Expression, variables
used in the equation must be already present in the project. Mathematical function, e.g. sin(), exp() etc.,
can also be used in Expression.
| |
| Get |
Returns a varialbe with the given name. If no variable is found, ArgumentException is thrown.
| |
| GetByIndex |
Returns a varialbe with the given index. If no variable is found, ArgumentException is thrown.
| |
| GetOptimizableVariableValues |
Return all optimizable variables values as an array of doubles.
| |
| Remove |
Removes variable from the project.
| |
| RemoveAll |
Removes all variables from the project.
| |
| SetOptimizableVariableValues |
Sets all optimizable variables values at once.
|