architecture-building-systems / revitpythonshell

An IronPython scripting environment for Autodesk Revit and Vasari
MIT License
494 stars 113 forks source link

AttributeError on RevitPythonShell initialization #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start Revit 2013 with RPS r158
2. Open Python Shell

What is the expected output? What do you see instead?

I expected an idle prompt waiting to do what I tell it to...
Instead, I got the following error message:

>>> Traceback (most recent call last):
  File "<string>", line 10, in <module>
AttributeError: 'NoneType' object has no attribute 'ActiveUIDocument'

Special thanks to Daniel da Rocha for pointing this one out!

Original issue reported on code.google.com by dthomas.ch on 22 Jan 2013 at 1:10

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r159.

Original comment by dthomas.ch on 22 Jan 2013 at 1:11