diff --git a/src/ifcfm/ifcfm/cobie24.py b/src/ifcfm/ifcfm/cobie24.py index 6038161b57..44edcc4360 100644 --- a/src/ifcfm/ifcfm/cobie24.py +++ b/src/ifcfm/ifcfm/cobie24.py @@ -616,7 +616,6 @@ def get_component_data(ifc_file: ifcopenshell.file, element: ifcopenshell.entity def get_system_data(ifc_file: ifcopenshell.file, element: ifcopenshell.entity_instance) -> dict[str, Any]: system, component = element - category = get_category(system) component_name = val(component.Name) return { "Name": val(system.Name), diff --git a/src/ifcopenshell-python/ifcopenshell/api/owner/create_owner_history.py b/src/ifcopenshell-python/ifcopenshell/api/owner/create_owner_history.py index 669d2cc730..60413782cb 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/owner/create_owner_history.py +++ b/src/ifcopenshell-python/ifcopenshell/api/owner/create_owner_history.py @@ -97,7 +97,6 @@ def create_owner_history(file: ifcopenshell.file) -> Union[ifcopenshell.entity_i # element.OwnerHistory = ifcopenshell.api.owner.create_owner_history(model) space = ifcopenshell.api.root.create_entity(model, ifc_class="IfcSpace") """ - settings = {} user = ifcopenshell.api.owner.settings.get_user(file) if file.schema != "IFC2X3" and not user: