TimberModel.has_group

TimberModel.has_group(group_element)[source]

Check if a group with group_element exists in the model.

Parameters:
group_elementclass:~compas_timber.elements.TimberElement

The group element to check for existence.

Returns:
bool

True if the group element exists in the model.