mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fix bug where appending a product from a library which had relationships to types caused a bunch of types to be pulled in unintentionally
This commit is contained in:
@@ -258,6 +258,8 @@ class Usecase:
|
||||
return False
|
||||
elif element.is_a(self.target_class):
|
||||
return True
|
||||
elif self.target_class == "IfcProduct" and element.is_a("IfcTypeProduct"):
|
||||
return True
|
||||
return False
|
||||
|
||||
def reuse_existing_contexts(self):
|
||||
|
||||
Reference in New Issue
Block a user