Files
IfcOpenShell/src/ifcpatch
Andrej730 4418c1327d MergeDuplicateTypes - fix error occuring if ifcopenshell.api is not imported
error was:
File "\site-packages\ifcpatch\__init__.py", line 78, in execute
    patcher.patch()
  File "\site-packages\ifcpatch\recipes\MergeDuplicateTypes.py", line 73, in patch
    self.assign_type(element, original_type)
  File "\site-packages\ifcpatch\recipes\MergeDuplicateTypes.py", line 114, in assign_type
    ifcopenshell.api.run("owner.update_owner_history", self.file, **{"element": types[0]})
    ^^^^^^^^^^^^^^^^
AttributeError: module 'ifcopenshell' has no attribute 'api'
2024-04-16 11:33:55 +02:00
..
2022-09-19 13:33:40 +10:00
2022-09-19 13:33:40 +10:00
2024-04-16 11:12:08 +02:00
2022-09-19 13:33:40 +10:00