find#

classmethod ComponentDef.find(db, comp_def_name)#

Find a component definition in a given database.

Parameters:
dbDatabase

Database to search for the component definition.

comp_def_namestr

Name of the component definition.

Returns:
ComponentDef

Component definition found, None otherwise.