AGGREGATE "IfcRoad", "IfcBridge", "IfcRailway", "IfcMarineFacility"
build and deploy Speckle functions / publish-automate-function-version (push) Has been cancelled
build and deploy Speckle functions / publish-automate-function-version (push) Has been cancelled
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user