TimberModel.get_elements_in_group

TimberModel.get_elements_in_group(group_name, filter_=None)[source]

Get all elements in a group with group_name.

TODO: upstream this to compas_model

Parameters:
group_namestr

The name of the group to query.

filter_callable, optional

A filter function to apply to the elements.

Returns:
Generator[Element]

A generator of elements in the group.