ScrCreatePinGroups

Creates a pin group containing specified pins.
UI Command:   Tools > Create/Manage Pin Groups.
Syntax:   obj.ScrCreatePinGroups(<partName>, <refDes>, <pinNumbers>, <groupName>, <applyToAllComponents>)
Parameters:  

BSTR partName

BSTR refDes

ARRAY pinNumbers

BSTR groupName

BOOL applyToAllComponents (True = pin group should be created for all parts with the given part name. When set to True, refDes is ignored.)

Return Value:  

BOOL

  • 0 – Failure
  • 1 – Success
VB Example:  

dim pinNumbers

pinNumbers = Array("1","2","3","4")

outcome = obj.ScrCreatePinGroups("CSP_BGA", "BGA", pinNumbers, "new_group_1", False)

IPY Example:  

oDoc.ScrCreatePinGroups('CSP_BGA', 'BGA', ['1','2','3','4'], 'new_group_1', False)