diff --git a/src/ifcopenshell-python/ifcopenshell/api/project/append_asset.py b/src/ifcopenshell-python/ifcopenshell/api/project/append_asset.py index a85a4ee5a0..272d204a51 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/project/append_asset.py +++ b/src/ifcopenshell-python/ifcopenshell/api/project/append_asset.py @@ -431,6 +431,7 @@ class Usecase: and there is no control to prevent it from adding certain type of elements. """ ifc_file = self.file + return ifc_file.add(element) if not self.assume_asset_uniqueness_by_name: return ifc_file.add(element)