- Open the attached file.
- Select Edge6 from the Box in the 3D view.
- Add the dimension to the selection.
- Call TechDraw_DimensionRepair.
- The "References 3D" section shows the preselected geometry.
- Click the "Replace ..." button.
- The "References 2D" section is now empty.
- Click the OK button.
- Result: the dimension has changed to vertical and still seems to reference 2D geometry. "References 2D" is now just "View". The "Measure Type" is still "Projected".
If the dimension references 2D geometry, and you preselect alternative 2D geometry, then the new selection is not displayed in the task panel.
There is also an issue with undo. Undoing the actions of TechDraw_DimensionRepair does not seem to work.
Code: Select all
OS: Ubuntu 22.04.1 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.0.31598 (Git) AppImage
Build type: Release
Branch: master
Hash: f7db685a2821adaf23c85a25855401ecc1eeff2c
Python 3.10.8, Qt 5.15.6, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)