Core: UserEditModes not passed to `App::GeometryPython` objects correctly
Author: Roy-043Created Jan 26, 2024Updated Sep 30, 2026
LabelsType: BugMod: CoreStatus: Confirmedno-auto-close
Is there an existing issue for this?
- I have searched the existing issues
Problem description
UserEditModes are not passed to App::GeometryPython objects correctly.
Steps to reproduce:
- Edit Mod/Arch/ArchBuildingPart.py: Add
print(mode)as the 1st line in thesetEditfunction. - Restart.
- Switch to the Arch WB.
- Create an Arch_BuildingPart.
- Change UserEditMode to Cutting.
- Double-click the BuildingPart in the Tree view.
- Result: mode should be 2, but is zero.
Full version info
OS: Windows 8 build 9600
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.35720 (Git)
Build type: Release
Branch: main
Hash: 00cd50bbf49c810555899efe112ec7595c76cd3a
Python 3.10.13, Qt 5.15.8, Coin 4.0.2, Vtk 9.2.6, OCC 7.6.3
Locale: Dutch/Netherlands (nl_NL)
Installed mods:Subproject(s) affected?
Core
Anything else?
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Source: FreeCAD/FreeCAD