If you create an Arch_Wall by clicking two points in the 3D view then the WallTrace sketch can be edited with the Draft_Edit command.
After saving and reopening the file the same WallTrace can no longer be edited in this manner. The following warning is displayed in the Report view: 17:18:09 <class 'IndexError'>
17:18:09 Traceback (most recent call last):
17:18:09 File "D:\BKG_Tmp\FreeCAD_0.20_Last\Mod\Draft\draftguitools\gui_edit.py", line 462, in mousePressed
17:18:09 self.endEditing(self.obj, self.editing)
17:18:09 File "D:\BKG_Tmp\FreeCAD_0.20_Last\Mod\Draft\draftguitools\gui_edit.py", line 542, in endEditing
17:18:09 self.update(obj, nodeIndex, v)
17:18:09 File "D:\BKG_Tmp\FreeCAD_0.20_Last\Mod\Draft\draftguitools\gui_edit.py", line 870, in update
17:18:09 self.update_object(obj, nodeIndex, v)
17:18:09 File "D:\BKG_Tmp\FreeCAD_0.20_Last\Mod\Draft\draftguitools\gui_edit.py", line 884, in update_object
17:18:09 eps = obj_gui_tools.update_object_from_edit_points(obj, nodeIndex, v, self.alt_edit_mode)
17:18:09 File "D:\BKG_Tmp\FreeCAD_0.20_Last\Mod\Draft\draftguitools\gui_edit_sketcher_objects.py", line 75, in update_object_from_edit_points
17:18:09 obj.movePoint(0, 2, v)
17:18:09 IndexError: {'sclassname': 'class Base::IndexError', 'sErrMsg': 'Sketch::checkGeoId. GeoId index out range.', 'sfile': '', 'iline': 0, 'sfunction': '', 'swhat': 'Sketch::checkGeoId. GeoId index out range.', 'btranslatable': False, 'breported': False}
Confirmed. Looks like you have to activate the sketcher to enable using it's API.
Strangely FreeCADGui.addModule("Sketcher") or import Sketcher do not work.
Don't know what did change in this regard from 0.18 and 0.19 versions. Did that work there?
follow my experiments on BIM modelling for architecture design
Startup WB is Start.
Restart FreeCAD.
Open a file with a single wall.
Switch to the Arch WB.
Create a new wall.
Draf_Edit the trace of the new wall: works OK.
Try the same with the trace of the first wall: does not work.
Startup WB is Start.
Restart FreeCAD.
Open a file with a single wall.
Switch to the Arch WB.
Create a new wall.
Draf_Edit the trace of the new wall: works OK.
Try the same with the trace of the first wall: does not work.
Activate sketcher workbench.
Try the same with the trace of the first wall: does work for me.
can you test?
follow my experiments on BIM modelling for architecture design
Startup WB is Start.
Restart FreeCAD.
Open a file with a single wall.
Switch to the Arch WB.
Create a new wall.
Draf_Edit the trace of the new wall: works OK.
Try the same with the trace of the first wall: does not work.
Double click on the walltrace of the first wall to edit the sketch.
Close the sketcher editor.
Try the same with the trace of the first wall: does work.
can you test?
follow my experiments on BIM modelling for architecture design