find_by_name#
- classmethod NPortComponentModel.find_by_name(comp_def, value)#
Find a component model by name in a given component def.
- Parameters:
- comp_def
ComponentDef Component def to search for the component model.
- value
str Name of the component model.
- comp_def
- Returns:
ComponentModelComponent model that is found,
Noneotherwise.