diff --git a/src/bt_ifcmanager/lib/lib_ifc/entity_builder.rb b/src/bt_ifcmanager/lib/lib_ifc/entity_builder.rb index c552152..f1e99ef 100644 --- a/src/bt_ifcmanager/lib/lib_ifc/entity_builder.rb +++ b/src/bt_ifcmanager/lib/lib_ifc/entity_builder.rb @@ -281,7 +281,7 @@ def assign_entity_attributes(ifc_entity, placement_parent) # could be better set from within IfcBuildingStorey? return unless ifc_entity.is_a?(@ifc_module::IfcBuildingStorey) - return unless ['IFC 4x3', 'IFC4X3_ADD2'].include?(Settings.ifc_version_compact) + return unless %w[IFC2X3 IFC4].include?(Settings.ifc_version_compact) elevation = @objectplacement.ifc_total_transformation.origin.z ifc_entity.elevation = Types::IfcLengthMeasure.new(@ifc_model, elevation)