ScrCreatePinGroupByDist

Creates a pin group for pins a given distance from a specified pin.
UI Command:   Tools > Create/Manage Pin Groups.
Syntax:   obj.ScrCreatePinGroupByDist (<partName>, <refDes>, <pinNumber>, <groupName>, <maxDistance>, <selectFromAllNets>)
Parameters:  

BSTR partName

BSTR refDes

BSTR pinNumber

BSTR groupName

BSTR maxDistance

BOOL selectFromAllNets (True = pins will be selected regardless of their nets. False = only pins from the same net as the specified pin are included.)

Return Value:  

BOOL

  • 0 – Failure
  • 1 – Success
VB Example:  

obj.ScrCreatePinGroupByDist("T1_A", "U1", "14", "TestPinGroupA", "450um", true)

IPY Example:  

oDoc.ScrCreatePinGroupByDist('T1_A', 'U1', '14', 'TestPinGroupA', '450um', True)