ExportFullWaveSpice

Use: Export FullWaveSpice data in a format of your choice.

Command: File > Export MacroModel > Broadband (SYZ, FWS….)

Syntax: ExportFullWaveSpice

"DesignName", // Design name. Can be left blank, if loading solution from a file.

true/false, // true - solution loaded from file, false- loaded from design

"Name", // If loading from design this is the solution name, else this is the

               // full path of the file from which the solution is loaded

"variation", // Pick a particular variation. Leave blank if no variation.

Array("NAME:Frequencies"), // Optional; if none defined all frequencies are used

Array("NAME:SpiceData", // Spice export options object

"SpiceType:=", "SSS", // SpiceType can be "PSpice", "HSpice", "Spectre", "SSS",

                                  // "Simplorer", "TouchStone1.0", "TouchStone2.0"

"EnforcePassivity:=", false, // Enforce Passivity true/false

"EnforceCausality:=", false, // Enforce Causality true/false

"UseCommonGround:=", false, // Use common ground true/false

"FittingError:=", 0.5, // Fitting error

"MaxPoles:=", 400, // Maximum Order

"PassivityType:=", "ConvexOptimization", // Passivity Type can be "ConvexOptimization",

                                          // "PassivityByPerturbation", or "IteratedFittingOfPV"

"ColumnFittingType:=", "Column", // Column FittingType can be "Column", "Entry", "Matrix"

"SSFittingType:=", "TWA", // SS Fitting Type can be "TWA", "IterativeRational"

"RelativeErrorToleranc:=", false, // Relative error tolerance true/false

"TouchstoneFormat:=", "MA", // Touchstone Format "MA", "RI", "DB"

"TouchstoneUnits:=", "Hz", // Touchstone Units "Hz", "KHz", "MHz", "MHz"

"TouchStonePrecision:=", 8, // Touchstone precision

"ExportDirectory:=", "C:/Examples/LNA/", // Directory to export to

"ExportSpiceFileName:=", "Linckt_HBTest_2.sss", // Spice export file

"FullwaveSpiceFileName:=", "Linckt_HBTest.sss", // FWS file

"CreateNPortModel:=", true // Create a model based on the exported file true/false

)