architecture-building-systems / revitpythonshell

An IronPython scripting environment for Autodesk Revit and Vasari
MIT License
517 stars 118 forks source link

Code disappears after first run #80

Open JustinZarb opened 6 years ago

JustinZarb commented 6 years ago

Hi, I am using Ironpython 2.7.7 on .NET 4.0.30319.42000, in Revit 2017.2.

I open the IronPython Console, load a script and am able to run it successfully. As soon as I try to edit it, the code disappears and I have to reload it, after which it works fine.

edit: I also have pyrevit installed.

eirannejad commented 6 years ago

Are you using the latest RPS? This issue was addressed and resolved before: https://github.com/architecture-building-systems/revitpythonshell/issues/62

JustinZarb commented 6 years ago

Unfortunately I no longer have access to that computer so I cannot check that, but I downloaded the installer for Revit 2017 using the link in the readme around 06/06. Maybe the bug still exists in that version?