From e7e41bb001e2cd3f6f309338e3f8830af746baa8 Mon Sep 17 00:00:00 2001 From: Roy-043 Date: Wed, 15 Jan 2025 21:17:04 +0100 Subject: [PATCH] BIM: ArchWall use moveGeometry to move sketch point The movePoint function is no longer available in V1.1. --- src/Mod/BIM/ArchWall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/BIM/ArchWall.py b/src/Mod/BIM/ArchWall.py index 639a57414c..68bda68376 100644 --- a/src/Mod/BIM/ArchWall.py +++ b/src/Mod/BIM/ArchWall.py @@ -610,7 +610,7 @@ class _Wall(ArchComponent.Component): elif Draft.getType(obj.Base) in ["Sketcher::SketchObject", "ArchSketch"]: try: obj.Base.recompute() # Fix for the 'GeoId index out range' error. - obj.Base.movePoint(0, 2, obj.Base.Placement.inverse().multVec(p2)) + obj.Base.moveGeometry(0, 2, obj.Base.Placement.inverse().multVec(p2)) except Exception: # This 'GeoId index out range' error should no longer occur. print("Debug: The base sketch of this wall could not be changed, because the sketch has not been edited yet in this session (this is a bug in FreeCAD). Try entering and exiting edit mode in this sketch first, and then changing the wall length should work.") else: