AGGREGATE "IfcRoad", "IfcBridge", "IfcRailway", "IfcMarineFacility"
build and deploy Speckle functions / publish-automate-function-version (push) Has been cancelled

This commit is contained in:
NLSA
2026-03-28 17:29:43 +01:00
parent fad461c767
commit 05a6799109
+1 -1
View File
@@ -292,7 +292,7 @@ def _create_element(ifc, ifc_class, name, rep, placement, storey,
# IfcSpace is a spatial structure element — must be decomposed (aggregated) # IfcSpace is a spatial structure element — must be decomposed (aggregated)
# under its IfcBuildingStorey, not spatially contained. # under its IfcBuildingStorey, not spatially contained.
if storey_manager: if storey_manager:
if ifc_class in ("IfcSite", "IfcSpace"): if ifc_class in ("IfcSite", "IfcSpace", "IfcRoad", "IfcBridge", "IfcRailway", "IfcMarineFacility"):
storey_manager.queue_aggregate(storey, element) storey_manager.queue_aggregate(storey, element)
else: else:
storey_manager.queue_contain(storey, element) storey_manager.queue_contain(storey, element)