Revit Python Shell setting default to IronPython 2.7

Revit Python Shell setting default to IronPython 2.7

roycasumpang
Observer Observer
1,503 Views
2 Replies
Message 1 of 3

Revit Python Shell setting default to IronPython 2.7

roycasumpang
Observer
Observer

Hi All,

 

For some reason my Revit Python Shell default changed to IronPython 3.4 instead of IronPython 2.7, and when I import pyrevit form libraries it display this error. It used to run in IronPython 2.7 and never had a problem. Is there a way to change the default IronPython version for RPS to use?

 

Thanks!

 

roycasumpang_0-1677369211515.png

 

0 Likes
Accepted solutions (1)
1,504 Views
2 Replies
Replies (2)
Message 2 of 3

architect.bim
Collaborator
Collaborator
Accepted solution

Hi!

IronPython 3.4 was implemented in the latest (2.0.0) release of Revit Python Shell (RPS). If you want to use IronPython 2.7 I think you need to unistall you current RPS version. And download the previous release (1.0.2). You can find it here.


Maxim Stepannikov | Architect, BIM Manager, Instructor
0 Likes
Message 3 of 3

roycasumpang
Observer
Observer

Yes, this one works. Thanks Maxim!