ifcopenshell.api.boundary.edit_attributes

Module Contents

ifcopenshell.api.boundary.edit_attributes.edit_attributes(file: ifcopenshell.file, entity: ifcopenshell.entity_instance, relating_space: ifcopenshell.entity_instance, related_building_element: ifcopenshell.entity_instance, parent_boundary: ifcopenshell.entity_instance | None = None, corresponding_boundary: ifcopenshell.entity_instance | None = None, physical_or_virtual: str = 'NOTDEFINED', internal_or_external: str = 'NOTDEFINED') None

Modify the relationships of a space boundary relationship

Parameters:
  • entity – The IfcRelSpaceBoundary to modify

  • relating_space – The IfcSpace or IfcExternalSpatialElement that the space boundary is related to.

  • related_building_element – The IfcElement that defines the boundary, typically an IfcWall.

  • parent_boundary – A parent IfcRelSpaceBoundary, only provided if this is an inner boundary. This can apply to 1st and 2nd level boundaries.

  • corresponding_boundary – The other IfcRelSpaceBoundary on the other side of the related element. The pair together represents a thermal boundary. This only applies to 2nd level boundaries.

  • physical_or_virtual – IfcPhysicalOrVirtualEnum value: “PHYSICAL”, “VIRTUAL”, or “NOTDEFINED”.

  • internal_or_external – IfcInternalOrExternalEnum value: “INTERNAL”, “EXTERNAL”, “EXTERNAL_EARTH”, “EXTERNAL_WATER”, “EXTERNAL_FIRE”, or “NOTDEFINED”.

Returns:

None