See #6404. See #1227. Create axis context if it does not exist for walls.

This commit is contained in:
Dion Moult
2025-03-21 16:45:29 +11:00
parent 8e1e0aec79
commit 963ba5fc30
3 changed files with 21 additions and 1 deletions
+1 -1
View File
@@ -1170,7 +1170,7 @@ class DumbWallJoiner:
ifcopenshell.util.element.replace_element(old_rep, rep)
ifcopenshell.util.element.remove_deep2(tool.Ifc.get(), old_rep)
else:
ifcopenshell.api.geometry.assign_representation(self.file, product=wall, representation=rep)
ifcopenshell.api.geometry.assign_representation(tool.Ifc.get(), product=wall, representation=rep)
def extend(self, wall1, target):
if tool.Ifc.is_moved(wall1):