ScrExportDcSimReportScaling

Used before ScrExportDcSimReport to set scaling options for DC report generation.

UI Command:   None.
Syntax:   obj.ScrExportDcSimReportScaling(<layerName>, <plotType>, <minVal>, <maxVal>, <bLogScale>)
Parameters:  

BSTR layerName (specify a layer name, "All", or "All Bondwires/Vias")

BSTR plotType ("Current Density", "Voltage", "Power Density", "Via Current", or "All")

DOUBLE minVal

DOUBLE maxVal

BOOL bLogScale (True = Log; False = Linear)

**Use -1 for both minVal & maxVal to set the plot range back to original and also to set bLogScale independently without affecting the range.

Return Value:  

INT:

  • 0 – Success
  • 1 – layerName value is unacceptable.
  • 2 – plotType value is unacceptable.
VB Example:  

obj.ScrExportDcSimReportScaling("All","Voltage",0.00,50.0,TRUE)

IPY Example:  

oDoc.ScrExportDcSimReportScaling('All','Voltage',0.00,50.0,True)