EditOutputVariable

Changes the name or expression of an existing output variable.

UI Access N/A
Parameters
Name Type Description
<OrigVarName> String Name of the original output variable.
<NewExpression> String New value to assign to the variable.
<NewVarName> String New name of the variable if any, else pass empty string.
<SolutionName> String

Name of the solution as seen in the output variable UI.

For example, "Setup1 : Last Adaptive".

<ReportType> or <SolutionType> String

The name of the report type as seen in the output variable UI.

For Layout Editor, use the solution type.

<ContextArray> or <DomainArray> Array

Structured array containing context for which the output variable expression is being evaluated.

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

For Layout Editor, use Domain array:

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

Return Value None

 

Python Syntax EditOutputVariable (<OrigVarName>, <NewExpression>, <NewVarName>, <SolutionName>, <ReportType | SolutionType >, <ContextArray | DomainArray >)
Python Example

oModule = oDesign.GetModule("OutputVariable")

oModule.EditOutputVariable ("test", "normalize(R1_0.V)", "testNew", "TR", "Standard", [])