find_by_def#
- classmethod ComponentGroup.find_by_def(layout, comp_def_name)#
Find all components belonging to a given component definition.
- Parameters:
- layout
Layout
Layout to search for component groups.
- comp_def_name
str
Name of the
ComponentDef
instance.
- layout
- Returns:
list
[ComponentGroup
]List of component groups that are found.