ScrPlacePortsAcrossRLCs

Creates ports across specified RLCs.
UI Command:   None.
Syntax:   obj.ScrPlacePortsAcrossRLCs(<zref>, <rlcName>, <rlcType>, <portsCreated>)
Parameters:  

DOUBLE zref

BSTR rlcName

BSTR rlcType ('cap' for capacitor; 'ind' for inductor; 'res' for resistor)

ARRAY portsCreated (empty)

Return Value:  

ARRAY portsCreated (list of port names)

INT outcome:

  • 0 – Success
  • 1 – Name or type is an empty string
  • 2 – rlcType is invalid
  • 3 – Specified RLC could not be found
  • 4 – Error filling the array portsCreated
VB Example:  

Dim portsCreated()

obj.ScrPlacePortsAcrossRLCs(50,"C3A3","cap",portsCreated)

IPY Example:  

portsCreated=[]

oDoc.ScrPlacePortsAcrossRLCs(50,'C3A3','cap',portsCreated)