ScrPlacePortsAtPinsOnSelectedNetsPinNamesOut

Creates ports between pins on the selected nets and the reference net while outputting the port names and pin names.
UI Command:   None.
Syntax:   obj.ScrPlacePortsAtPinsOnSelectedNetsPinNamesOut(<zref>, <refNetName>, <connectToPinGroup>, <portsCreated>, <posPinNames>, <refPinNames>)
Parameters:  

DOUBLE zref

BSTR refNetName

BOOL connectToPinGroup (True = connect; False = do not connect)

ARRAY portsCreated (empty)

ARRAY posPinNames (empty)

ARRAY refPinNames (empty)

Return Value:  

ARRAY portsCreated (filled)

ARRAY posPinNames (filled)

ARRAY refPinNames (filled)

INT:

  • 0 – Success
  • Else – Failure
VB Example:  

obj.ScrPlacePortsAtPinsOnSelectedNetsPinNamesOut(50.0, "GND", false, ports, posPins, refPins)

IPY Example:  

oDoc.ScrPlacePortsAtPinsOnSelectedNetsPinNamesOut(50.0, 'GND', false, ports, posPins, refPins)