Installed version: 188.8.131.523031601
Using FreeCAD http://www.freecadweb.org/ on Windows XP
This is an easy to install program, and the test code is easy to reproduce.
This code works when running:
import FreeCAD # @UnusedImport
from FreeCAD import Base # @UnusedImport
from FreeCAD import Part #@UnresolvedImport
if FreeCAD.ActiveDocument is not None:
for p in FreeCAD.ActiveDocument.findObjects():
FreeCAD.ActiveDocument = FreeCAD.getDocument("Unnamed")
but I get errors (please see attached screen print.
Most imports actually work which suggests that the FreeCAD directory is found.
I have searched all stackoverflow.com articles but suggested solutions did not work.
I think it would be great to solve this because it seens so fundamental to me.