Code: Select all
import math,FreeCAD,Arch,WorkingPlane
m = FreeCAD.Matrix()
m.rotateX(math.pi/2)
pl = FreeCAD.Placement(m)
pl.Base = FreeCAD.Vector(0.0,0.0,0.0)
win = Arch.makeWindowPreset("Open 2-pane",width=1000.0,height=1000.0,h1=10.0,h2=10.0,h3=10.0,w1=200.0,w2=100.0,o1=0,o2=100.0,placement=pl)
Code: Select all
Traceback (most recent call last):
File "/usr/local/Mod/Arch/ArchWindow.py", line 1385, in setEdit
taskd = _ArchWindowTaskPanel()
File "/usr/local/Mod/Arch/ArchWindow.py", line 1470, in __init__
self.basepanel = ArchComponent.ComponentTaskPanel()
File "/usr/local/Mod/Arch/ArchComponent.py", line 1046, in __init__
self.form.ButtonCode.hide()
<type 'exceptions.AttributeError'>: 'PySide.QtGui.QWidget' object has no attribute 'ButtonCode'
Traceback (most recent call last):
File "/usr/local/Mod/Arch/ArchWindow.py", line 1398, in unsetEdit
vobj.DisplayMode = self.sets[0]
<type 'exceptions.AttributeError'>: _ViewProviderWindow instance has no attribute 'sets'
OS: Debian GNU/Linux 9.5 (stretch)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14708 (Git)
Build type: Debug
Branch: master
Hash: 8f3a53c24c43e9eceb5800f50921f41acd9d1d83
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
Locale: German/Switzerland (de_CH)