From a4718b39282a119038966cedc9bf155509793d72 Mon Sep 17 00:00:00 2001 From: Jan Brouwer Date: Mon, 11 Nov 2024 08:52:48 +0100 Subject: [PATCH] Fix #71 --- src/bt_ifcmanager/lib/lib_ifc/entity_builder.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bt_ifcmanager/lib/lib_ifc/entity_builder.rb b/src/bt_ifcmanager/lib/lib_ifc/entity_builder.rb index c7cc3e4..221ba8b 100644 --- a/src/bt_ifcmanager/lib/lib_ifc/entity_builder.rb +++ b/src/bt_ifcmanager/lib/lib_ifc/entity_builder.rb @@ -234,6 +234,8 @@ def handle_unclassified_component(su_instance, placement_parent) # @param placement_parent [Object] The parent entity for the placement of the IfcProject. # @return [Object] The modified IfcProject entity. def handle_ifc_project(su_instance, placement_parent) + su_definition = su_instance.definition + # Only a single IfcProject entity is allowed in an IFC model # @todo: set all correct parameters for IfcProject!!! # Enrich the base IfcProject with properties of the modelled IfcProject