ScrSetIdealGroundNodeInDcSimulation

For a DC IR simulation, sets the Ideal Ground Node (the precise 0V).

IMPORTANT: This script should be called before running a DC solve using ScrRunDcSimulation or ScrRunSimulation with tag dc.

UI Command:   Simulation > Compute DC IR. Select an ideal ground node.
Syntax:   obj.ScrSetIdealGroundNodeInDcSimulation(<circuit_element_name>, <node_type_id>)
Parameters:  

BSTR circuit_element_name (name of the circuit element in the design on which the ideal ground is)

INT node_type_id (which terminal of the circuit element is ideal ground), where:

  • 0 – Neither Terminal
  • 1 – Negative Terminal
  • 2 – Positive Terminal
Return Value:  

BOOL

  • 0 – Failure
  • 1 – Success
VB Example:  

obj.ScrSetIdealGroundNodeInDcSimulation("VU6", 1)

IPY Example:  

oDoc.ScrSetIdealGroundNodeInDcSimulation('VU6', 1)