get_pin_from_component#
- Components.get_pin_from_component(component, netName=None, pinName=None)[source]#
Retrieve the pins of a component.
- Parameters:
- Returns:
list
List of pins when the component is found or
[]
otherwise.
Examples
>>> from pyedb import Edb >>> edbapp = Edb("myaedbfolder", "project name", "release version") >>> edbapp.components.get_pin_from_component("R1", refdes)