# IfcSpace with related BuildingStorey, how to find ?

**URL:** <https://forums.buildingsmart.org/t/ifcspace-with-related-buildingstorey-how-to-find/5187>\
**Category:** Construction-CostSchedulingIDM\
**Created:** [February 28, 2024, 3:30pm UTC](https://forums.buildingsmart.org/t/ifcspace-with-related-buildingstorey-how-to-find/5187 "2024-02-28T15:30:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreasd](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/andreasd/32/2035_2.png) [@andreasd](https://forums.buildingsmart.org/u/andreasd)\
**Post date:** [February 28, 2024, 3:30pm UTC](https://forums.buildingsmart.org/t/ifcspace-with-related-buildingstorey-how-to-find/5187/1 "2024-02-28T15:30:44Z")

</div>

Hello,

I open my Ifc with an editor _Notepad++_ so i wanna find a IfcSpace by RoomNumber, that works fine f.e. “M031U1030” but how can i find the releated **Building Storey**?

Thank you for any information

KR

Andreas

---

<div class="post-metadata">

**Author:** ![nn1](https://avatars.discourse-cdn.com/v4/letter/n/ebca7d/32.png) [@nn1](https://forums.buildingsmart.org/u/nn1)\
**Post date:** [March 4, 2024, 4:46pm UTC](https://forums.buildingsmart.org/t/ifcspace-with-related-buildingstorey-how-to-find/5187/2 "2024-03-04T16:46:24Z")

</div>

That will take more effort… why not just open the IFC file in a free viewer to see the spatial hierarchy?

a. Find lines containing IFCSPACE and find the room name in second single quotes. Note the number on the left #999.  
b. Search for the string #999 in a row called IFCRELAGGREGATES  
c. Note the number on its own just before the list , #888,  
d. Search for a line #888 = IFCBUILDINGSTOREY  
e. You will see the storey name in second single quotes.

In other words, the connection between the space and the storey is mediated by a third ‘relationship’ line. A lot of IFC works like this.

Find the IFC4.3 documentation and read some of chapter 4 on concepts and principles.
