mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-01 20:49:44 +00:00
WIP assigning a class also assigns the spatial container if possible. See #1222.
This commit is contained in:
@@ -15,7 +15,7 @@ class Usecase:
|
||||
contained_in_structure = self.settings["product"].ContainedInStructure
|
||||
contains_elements = self.settings["relating_structure"].ContainsElements
|
||||
|
||||
if contained_in_structure == contains_elements:
|
||||
if contains_elements and contained_in_structure == contains_elements:
|
||||
return
|
||||
|
||||
if contained_in_structure:
|
||||
|
||||
Reference in New Issue
Block a user