ScrExportNamedSimToTouchstone

Exports SYZ simulation results to a specified touchstone file.

UI Command:   Results > SYZ > [Simulation Name] > Export Touchstone File.
Syntax:   obj.ScrExportNamedSimToTouchstone(<simType>, <simName>, <file>)
Parameters:  

BSTR simType (syz, psi_syz, or hfss_syz)

BSTR simName (previously run simulation)

BSTR file (full path for the touchstone file to be generated; do not include file extension)

Return Value:  

INT:

  • 0 – Success
  • 1 – simType value is unacceptable.
  • 2 – simName does not exist OR path cannot be created.
VB Example:  

obj.ScrExportNamedSimToTouchstone("hfss_syz", "Sim 1", "D:/results")

IPY Example:  

oDoc.ScrExportNamedSimToTouchstone('hfss_syz', 'Sim 1', 'D:/results')