Files
IfcOpenShell/src
Andrej730 4617834578 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-02-07 12:20:11 +05:00
..
2024-01-10 09:10:38 +11:00
2024-01-17 11:10:06 +01:00
2023-06-08 09:45:54 +10:00
2023-12-07 13:42:32 +11:00
2023-12-07 13:42:32 +11:00
2023-12-07 13:42:32 +11:00
2023-12-07 13:42:32 +11:00
2023-12-07 13:42:32 +11:00
2024-01-30 15:41:08 +05:00
2023-12-07 13:42:32 +11:00
2024-01-22 09:38:05 +01:00
2023-12-07 13:42:32 +11:00
2023-12-07 13:42:32 +11:00
2023-12-26 14:28:45 +01:00
2023-12-07 13:42:32 +11:00
2023-12-07 13:42:32 +11:00
2023-12-07 13:42:32 +11:00
2023-06-09 13:28:25 +02:00