mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 18:43:26 +00:00
remove unused code
This commit is contained in:
@@ -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),
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user