find_by_name#

classmethod PadstackDef.find_by_name(db, name)#

Find a padstack definition by name in a given database.

Parameters:
dbDatabase.

Database to search for the padstack definition.

namestr

Name of the padstack definition.

Returns:
PadstackDef

Padstack definition found.