- open the attached testfile: - select e.g. the Left projection view
- now insert an ArchView
result: since there is no Arch object of course it cannot be added. Nevertheless there should be a clear error or warning message e.g. that there is no Arch object selected and that it can therefore not be inserted. Instead I only get this error in the report view window:
Code: Select all
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "D:\FreeCAD-build\Mod\Arch\ArchSectionPlane.py", line 315, in getSVG
objs, cutplane, onlySolids, clip, direction = getSectionData(source)
File "D:\FreeCAD-build\Mod\Arch\ArchSectionPlane.py", line 132, in getSectionData
p = FreeCAD.Placement(source.Placement)
<class 'AttributeError'>: 'TechDraw.DrawProjGroupItem' object has no attribute 'Placement'
7.67e-07 <App> Document.cpp(3440): Failed to recompute TD_test#ArchView: 'TechDraw.DrawProjGroupItem' object has no attribute 'Placement'
Recompute failed! Please check report view.
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19443 (Git)
Build type: Release
Branch: master
Hash: 74680b8a15ad37e53eee0d341e95cd32631d88a3
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Germany (de_DE)