find#

classmethod ComponentPin.find(comp_def, name)#

Find a component pin in a given component definition.

Parameters:
comp_defComponentDef

Component definition to search for the component pin.

namestr

Name of the component pin.

Returns:
ComponentPin

Component pin found. If a component pin isn’t found, the returned component pin is null.