From 763f56bd98023046a43a94afe3cdca0e7b3de1d7 Mon Sep 17 00:00:00 2001 From: Roy-043 Date: Fri, 4 Oct 2024 17:52:05 +0200 Subject: [PATCH] BIM: BimWall add missing imports Fixes #16996. --- src/Mod/BIM/bimcommands/BimWall.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Mod/BIM/bimcommands/BimWall.py b/src/Mod/BIM/bimcommands/BimWall.py index aa654e2b95..19263fe146 100644 --- a/src/Mod/BIM/bimcommands/BimWall.py +++ b/src/Mod/BIM/bimcommands/BimWall.py @@ -134,6 +134,8 @@ class Arch_Wall: import Draft import Part + import Arch + import ArchWall from draftutils import gui_utils if obj: if Draft.getType(obj) == "Wall": @@ -171,9 +173,9 @@ class Arch_Wall: else: if self.JOIN_WALLS_SKETCHES: # join existing subwalls first if possible, then add the new one - w = joinWalls(self.existing) + w = Arch.joinWalls(self.existing) if w: - if areSameWallTypes([w,self]): + if ArchWall.areSameWallTypes([w,self]): FreeCADGui.doCommand('FreeCAD.ActiveDocument.'+w.Name+'.Base.addGeometry(trace)') else: # if not possible, add new wall as addition to the existing one