Extracting all external walls from an existing IFC using ifcopenshell and writing them in new IFC.

edited October 2023 in General

Hello there,

i am new to IfcOpenShell. I am trying to extract all exterior walls from an existing ifc file and then outputting them in a new IFC file. The model.schema of existing file is IFC2X3.

When opening the ifc file using notepad ++. There is no IfcWall entity. The walls are all under IFCWALLSTANDARDCASE. From the code it shows there are a total of 65 walls via the IFCWALLSTANDARDCASE entity. Within this entity it shows whether the wall is exterior or not using "Exterior_wall".

How do i go about extracting all external types of these entities and writing it into a new IFC file. would appreciate some help i have added images for reference.

Sign In or Register to comment.