ScrSetPlotLayers

Sets the layers specified for a Frequency Sweep.

UI Command:   Simulation > Compute Frequency Sweeps. From the Voltage Surface Plot Options area, select layers.
Syntax:   obj.ScrSetPlotLayers(<plotLayer>,<refLayer>)
Parameters:  

BSTR plotLayer

BSTR refLayer (ground)

Return Value:  

INT:

  • 0 – Success
  • Else – Failure
VB Example:  

obj.ScrSetPlotLayers "L2" "GND"

IPY Example:  

oDoc.ScrSetPlotLayers('L2','GND')