ScrExportDcPowerTree

Exports a DC power tree of a previously run DC simulation.

UI Command:   Results > DC IR > [Simulation Name] > Export Power Tree.
Syntax:   obj.ScrExportDcPowerTree(<simName>, <thresholds_csv_file>, <output_image_file>)
Parameters:  

BSTR simName (DC IR simulation must already be completed)

BSTR thresholds_csv_file (path to CSV file containing voltage and current threshold values for every node; include file extension)

BSTR output_image_file (path to the file the tree will be exported to; include file extension)

Return Value:  

INT:

  • 0 – Success
  • 1 – Cannot find DC simulation by simName provided.
  • 2 – Export failed.
VB Example:  

obj.ScrExportDcPowerTree ("DC Drop 1", "D:/thresholds.csv", "D:/pwrtree.png")

IPY Example:  

oDoc.ScrExportDcPowerTree('DC Drop 1', 'D:/thresholds.csv', 'D:/pwrtree.png')