get_element_groups

compas_cadwork.utilities.get_element_groups(is_wall_frame=True)[source]

Returns a dictionary mapping names of the available building subgroups to their elements.

Parameters:
is_wall_framebool, optional

If True, only wall groups which contain a wall frame elements are returned, otherwise all groups are returned.

Returns:
dict(str, ElementGroup)

Dictionary of building group names mapped to an instance of ElementGroup.