GetOutputVariableValue

Returns the double value of an output variable. Only expressions that return a double value are supported. The expression is evaluated only for a single point.

UI Access N/A
Parameters
Name Type Description
<OutputVarName> String Name of the output variable.
<IntrinsicVariation> String A set of intrinsic variable value pairs to use when evaluating the output expression.

HFSS example:

"Freq='20GHz' Theta='20deg' Phi='30deg'"

<SolutionName> String Name of the solution as listed in the output variable UI. For example, "Setup1 : Last Adaptive".
<ReportType> String The name of the report type as seen in the output variable UI.

Possible values in HFSS are:

  • "Modal Solution Data"
  • "Terminal S Parameters"
  • "Eigenmode Parameters"
  • "Fields"
  • "Far Fields"
  • "Near Fields"
  • "Emission Test"
<ContextArray> Array Structured array containing context for which the output variable expression is being evaluated. Can be empty.

Array("Context:=", <string>)

Return Value Double value of the output variable.

 

Python Syntax GetOutputVariableValue(<OutputVarName>, <IntrinsicVariation>, <SolutionName>, <ReportTypeName>, <ContextArray>)
Python Example

Val = oDesign.GetOutputVariableValue("test","Freq = '20Ghz' Theta='20deg' Phi='30deg'", "TR", "Standard", [])