get_pinlist_from_component_and_net

EdbPadstacks.get_pinlist_from_component_and_net(refdes=None, netname=None)[source]

Retrieve pins given a component’s reference designator and net name.

Parameters
refdesstr, optional

Reference designator of the component. The default is None.

netnamestr optional

Name of the net. The default is None.

Returns
dict

Dictionary of pins if the operation is successful. False is returned if the net does not belong to the component.