For LinkGroup this code below causes FreeCAD crash at ViewObject:
Code: Select all
import FreeCAD
lg = FreeCAD.ActiveDocument.getObjectsByLabel("LinkGroup")[0]
vo = lg.ViewObject
d = dir(vo)
for o in d:
FreeCAD.Console.PrintMessage("\n")
FreeCAD.Console.PrintMessage(str(o))
hasattr(vo, o)
For stable version:
Code: Select all
OS: Ubuntu 22.04 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.9.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: English/United States (en_US)
Installed mods:
* Woodworking 0.20.29177
Code: Select all
OS: Ubuntu 22.04 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.29485 (Git) AppImage
Build type: Release
Branch: master
Hash: a236ca843fdd6674afb6d7ed1454fbd3b547f5ea
Python 3.10.5, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: English/United States (en_US)
Installed mods:
* Woodworking 0.20.29177