| Python Syntax
|
InsertSetup
("OptiParametric", <ParametricParams>)
|
| Python Example
|
oModule.InsertSetup("OptiParametric",
[
"NAME:ParametricSetup1",
"SaveFields:=", true,
[ "NAME:StartingPoint" ], "Sim. Setups:=", ["Setup1"],
[ "NAME:Sweeps", [ "NAME:SweepDefinition", "Variable:=", "$width",
"Data:=", "LIN 12mm 17mm 2.5mm",
"OffsetF1:=", false,
"Synchronize:=", 0
],
[
"NAME:SweepDefinition",
"Variable:=", "$length",
"Data:=", "LIN 8mm 12mm 2mm",
"OffsetF1:=", false,
"Synchronize:=", 0
]
],
[
"NAME:Sweep Operations"
],
[
"NAME:Goals",
[
"NAME:Goal",
"Solution:=", "Setup1 : LastAdaptive",
"Calculation:=", "returnloss",
"Context:=", ""
[
"NAME:Ranges",
"Range:=",
[
"Var:=", "Freq", "Type:=","s"
"Start:=", "8GHz",
"Stop:=", "8GHz"
]
],
[
"NAME:Goal",
"Solution:=", "Setup1 : LastAdaptive"
"Calculation:=", "reflect",
"Context:=", "",
[
"NAME:Ranges",
"Range:=",
[
"Var:=", "Freq",
"Type:=","s",
"Start:=", "8GHz",
"Stop:=", "8GHz"
]
]
]
]
]
])
|