I am running python x,y in 32 bit with python 2.7. I installed the 32 bit, 0.17 version of FreeCAD but have not had any luck when trying legacy releases (I have tried 0.15, 0.16 as well).
Any help resolving this issue would be greatly appreciated! I am working on a python library for my company and others have not had any trouble getting a similar setup working and we are stumped as to why my setup is giving me issues.
Thanks in advance!
Here is an example of what will cause the window to open but be non-responsive:
Code: Select all
import FreeCAD as app import FreeCADGui as gui doc = app.newDocument() box = doc.addObject("Part::Box", "myBox") doc.recompute() #obj = gui.ActiveDocument.getObject("myBox") -- AttributeError: 'module' object has no attribute 'ActiveDocument' gui.showMainWindow()