- start new document
- create an arch structure
- set Show Nodes property to True
- i get this error:
Code: Select all
Traceback (most recent call last):
File "C:\Users\Carlo\Desktop\FreeCAD_0.19.17803_x64_LP_12.1.2_PY3QT5-WinVS2015\Mod\Arch\ArchStructure.py", line 1005, in onChanged
self.updateData(vobj.Object,"Nodes")
File "C:\Users\Carlo\Desktop\FreeCAD_0.19.17803_x64_LP_12.1.2_PY3QT5-WinVS2015\Mod\Arch\ArchStructure.py", line 950, in updateData
self.lineset.coordIndex.setValues(0,len(p)+1,range(len(p))+[-1])
<class 'TypeError'>: unsupported operand type(s) for +: 'range' and 'list'
Traceback (most recent call last):
File "<string>", line 1, in <module>
<class 'AttributeError'>: Attribute (Name: ShowNodes) error: 'unsupported operand type(s) for +: 'range' and 'list''
Stack Trace: Traceback (most recent call last):
File "<string>", line 1, in <module>
Also i was thinking: arch structure uses draft edit to change nodes position. Would it be good to be able to use DrafEdit also to change height /length of the element and position/rotation? maybe I could add a switch between the two modes.
Code: Select all
OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.17803 (Git)
Build type: Release
Branch: master
Hash: 89961a33d46063a43e9fb5b0308ca95d559eca94
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)