GetOptimetricResult

Returns an Optimetric calculation. The specific calculation is determined by the setup.

UI Access N/A
Parameters
Name Type Description
<SetupName> String Optimetrics setup name.
<vars> Array Array containing string variable names.

Use the Sweep Definitions tab in the UI or the <SweepDefs> parameter in the InsertSetup script to determine appropriate inputs.

<values> Array Optional. Array containing string values.

When multiple variables and values are provided, the order must be the same in both the <vars> and <values> arrays. The first variable is paired with the first value, the second variable is paired with the second value, and so on.

Return Value

Calculation result. If the setup contains more than one calculation, the output will be an array of values.

 

Python Syntax GetOptimetricResult(<SetupName>, <vars>, <values>)
Python Example

oModule.GetOptimetricResult('ParametricSetup1',['AR','Re'],['4.64','6e+04'])