ElementGroup

class compas_cadwork.datamodel.ElementGroup[source]

Bases: object

Represents a cadwork Element Group

Parameters:
namestr

The name of the Element Group

elementslist

A list of Elements belonging to the Element Group

Attributes:
namestr

The name of the Element Group

elementslist

A list of Elements belonging to the Element Group

wall_frame_elementElement, optional

The containing Element (often a wall element) which contains all other elements in the group. If any.

ifc_guidstr

The IFC GUID of the container element, often used to represent the whole group. See also: ifc_base64_guid

Methods

add_element

Adds an Element to the Element Group