Skip to content

Commit

Permalink
Release version 5.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrouwerdigibase committed Apr 2, 2024
1 parent 7f375fc commit db715f3
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/bt_ifcmanager/lib/lib_ifc/spatial_structure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,11 @@ def add(ifc_entity)

# Adds a spatial element to the project's spatial structure.
#
# Parameters:
# - ifc_entity: The IfcSpatialElement instance to be added to the spatial structure.
# - spatial_structure_types: An array of spatial structure types.
# - structure_type: The structure type of the spatial element to be added.
# - parent_structure_type: The structure type of the parent spatial element.
#
# Returns: None.
# @param ifc_entity [Object] The IfcSpatialElement instance to be added to the spatial structure.
# @param spatial_structure_types [Array] An array of spatial structure types.
# @param structure_type [Object] The structure type of the spatial element.
# @param parent_structure_type [Object] The structure type of the parent spatial element.
# @return [void]
def add_spatialelement(ifc_entity, spatial_structure_types, structure_type, parent_structure_type)
complex_parent_index = spatial_structure_types.rindex(structure_type)
if complex_parent_index
Expand Down

0 comments on commit db715f3

Please sign in to comment.