ScrPlacePortsAtPinsOnSelectedNets

Creates ports with specified impedance for each of the pins found in a specified reference net.
UI Command:   None.
Syntax:   obj.ScrPlacePortsAtPinsOnSelectedNets(<zref>, <refNetName>, <connectToPinGroup>, <portsCreated>)
Parameters:  

DOUBLE zref (impedance)

BSTR refNetName (reference net)

BOOL connectToPinGroup

ARRAY portsCreated (empty)

Return Value:  

ARRAY portsCreated (filled)

INT:

  • 0 – Success
  • Else – Failure
VB Example:  

Dim portsCreated()

obj.ScrPlacePortsAtPinsOnSelectedNets(50.0, "MY_NET", True, portsCreated)

IPY Example:  

portsCreated = []

oDoc.ScrPlacePortsAtPinsOnSelectedNets(50.0, 'MY_NET', 1, portsCreated)