mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 23:36:20 +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]:
|
def get_system_data(ifc_file: ifcopenshell.file, element: ifcopenshell.entity_instance) -> dict[str, Any]:
|
||||||
system, component = element
|
system, component = element
|
||||||
category = get_category(system)
|
|
||||||
component_name = val(component.Name)
|
component_name = val(component.Name)
|
||||||
return {
|
return {
|
||||||
"Name": val(system.Name),
|
"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)
|
# element.OwnerHistory = ifcopenshell.api.owner.create_owner_history(model)
|
||||||
space = ifcopenshell.api.root.create_entity(model, ifc_class="IfcSpace")
|
space = ifcopenshell.api.root.create_entity(model, ifc_class="IfcSpace")
|
||||||
"""
|
"""
|
||||||
settings = {}
|
|
||||||
|
|
||||||
user = ifcopenshell.api.owner.settings.get_user(file)
|
user = ifcopenshell.api.owner.settings.get_user(file)
|
||||||
if file.schema != "IFC2X3" and not user:
|
if file.schema != "IFC2X3" and not user:
|
||||||
|
|||||||
Reference in New Issue
Block a user