ScrCreatePinGroupByNet

Creates a pin group consisting of pins from a specified part within a specified net.
UI Command:   Tools > Create/Manage Pin Groups.
Syntax:   obj.ScrCreatePinGroupByNet (<partName>, <refDes>, <netName>, <groupName>, <applyToAllComponents>)
Parameters:  

BSTR partName

BSTR refDes

BSTR netName

BSTR groupName

BOOL applyToAllComponents (True= pin groups will be created on all parts of the specified partName regardless of the refDes; the resulting group names will have an index number appended for uniqueness)

Return Value:  

BOOL

  • 0 – Failure
  • 1 – Success
VB Example:  

obj.ScrCreatePinGroupByNet "T1_A", "U1", "GND", "U1_GND", false

IPY Example:  

oDoc.ScrCreatePinGroupByNet ('T1_A', 'U1', 'GND', 'U1_GND', False)