Monday, June 3, 2013


From Jeremy Tammik's ever so useful The Building Coder blog...

"I repeatedly pointed out the power of being able to interact directly with the Revit API using Daren Thomas' RevitPythonShell, originally implemented for Revit 2010, then for Vasari, and updated for Revit 2012 and Vasari 2.1 last autumn.

"Here is another interactive interactive Revit programming environment by Håkon Clausen of Nosyko AS.

"His RevitRubyShell is based on the interpreted language Ruby programming language, which is more modern than Python and inherently object oriented.

"According to the introductory blurb on its home page, Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.

"Kean Walmsley also had a look at it in its IronRuby incarnation for use in programming AutoCAD. He presents a first overview and introduction to Ruby in his initial post on using IronRuby with AutoCAD.

"Here is the RevitRubyShell source code.

"Håkon says: I hope you will find this useful. I use it a lot for rapid prototyping and testing when programming against the Revit API.

"It sports the simplest installation I have ever seen for any Revit add-in whatsoever, the absolutely ultimate one-click RevitRubyShell installer, which should be opened IE and will install the add-in directly, setting up an external application creating its own simple single-button panel:
RevitRubyShell add-in panel

"Clicking the button launches the Revit Ruby shell including a snippet of sample code that can be immediately executed by pressing the blue 'Run' arrow button:

"Well worth looking at, and might prove a huge programming productivity booster.

"Many thanks to Håkon for developing and sharing this!"

And thank YOU for sharing this information Jeremy!

No comments:

Post a Comment