mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
merge_identical_objects - temporarily replace get_info_2 with get_info
This commit is contained in:
@@ -111,7 +111,8 @@ class Debug(bonsai.core.tool.Debug):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def get_hash(element: ifcopenshell.entity_instance) -> int:
|
def get_hash(element: ifcopenshell.entity_instance) -> int:
|
||||||
return hash(json.dumps(element.get_info_2(include_identifier=False, recursive=True), sort_keys=True))
|
# TODO: replace with get_info_2 after bonsai build update.
|
||||||
|
return hash(json.dumps(element.get_info(include_identifier=False, recursive=True), sort_keys=True))
|
||||||
|
|
||||||
ifc_file = tool.Ifc.get()
|
ifc_file = tool.Ifc.get()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user