create_pingroup_from_pins#

Components.create_pingroup_from_pins(pins, group_name=None)[source]#

Create a pin group on a component.

Parameters:
pinslist

List of EDB pins.

group_namestr, optional

Name for the group. The default is None, in which case a default name is assigned as follows: [component Name] [NetName].

Returns:
tuple

The tuple is structured as: (bool, pingroup).

Examples

>>> from pyedb import Edb
>>> edbapp = Edb("myaedbfolder")
>>> edbapp.components.create_pingroup_from_pins(gndpinlist, "MyGNDPingroup")