Arch BuildingPart v01.9

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
PMac
Posts: 135
Joined: Sat Sep 02, 2017 10:44 pm

Arch BuildingPart v01.9

Post by PMac »

Hi All,

Trying to add an Arch BuildingPart to a newly created document. Code stops with following error.

08:30:15 Traceback (most recent call last):
File "/usr/share/freecad-daily/Mod/Arch/ArchBuildingPart.py", line 602, in attach
lin.coordIndex.setValues([0,1,-1,2,3,-1,4,5,-1])
<class 'AttributeError'>: 'NoneType' object has no attribute 'coordIndex'
08:30:15 Traceback (most recent call last):
File "/usr/share/freecad-daily/Mod/Arch/ArchBuildingPart.py", line 726, in onChanged
self.txt.string.setValue(txt)
<class 'AttributeError'>: 'ViewProviderBuildingPart' object has no attribute 'txt'
08:30:15 Traceback (most recent call last):
File "/usr/share/freecad-daily/Mod/Arch/ArchBuildingPart.py", line 683, in onChanged
self.fon.name = vobj.FontName
<class 'AttributeError'>: 'ViewProviderBuildingPart' object has no attribute 'fon'
08:30:15 Traceback (most recent call last):
File "/usr/share/freecad-daily/Mod/Arch/ArchBuildingPart.py", line 688, in onChanged
self.fon.size = fs
<class 'AttributeError'>: 'ViewProviderBuildingPart' object has no attribute 'fon'


The line at 601 in Arch BuildingPart.py (one above the first listed error) fails to return an object. As above, subsequent operations fail.

On the latest freecad-daily
OS: Linux Mint 20 (X-Cinnamon/cinnamon)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: 0f875168b67536fd859ed44e1fe50d9b0a11f223
Python version: 3.8.5
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.3.0
Locale: English/New Zealand (en_NZ)
Post Reply