Monday, June 03, 2013

Revit 2014 API Languages

Revit 2014 has added a couple new language options for people who can speak to Revit through its API (application programming interface). If you have a long history with CAD you might have spent more than a few hours "Lost in parenthesis" (LISP)? In Revit we can get lost in them when we deal with conditional formulas in the family editor.

In Revit 2013 the API supported two languages C++ and C# (technically any language). Revit 2014 has added Ruby (aka Ruby on Rails) and Python. If you have no programming experience they are not gems or reptiles, just alternatives to the far more widely used C++ and the much newer C# (and supposedly "easier to learn").

The dialog is a little smaller too (really subtle eh?).

If you are looking to get started with the Revit API you might consider Don Rudder's book:

Instant Autodesk Revit 2013 Customization with .NET How-to

Looking for some hands-on training with a sherpa? Get in touch with Harry Mattison (Boost Your BIM), he's gone from deep within Autodesk working on Revit and its API to the life of a freelancer who shares his knowledge on his blog and creates applications for hire. He's started offering some online training too.

Don Rudder and Case-inc have also offered API focused training in the past and are always considering hosting another so keep an eye on their site for a future class offering.

I've also written a couple blog posts before about getting started with the API (though I'm still remiss in taking it seriously myself).

Getting Started with the Revit API
My First Revit Plug-in

Years ago when I did some programming more seriously I found the book "Code Complete" by Steve McConnell quite helpful to help understand the process and concepts.

Happy coding!

1 comment:

Dima Chiriacov said...

IMHO the best Revit API resource out there for any level of coder is TheBuildingCoder blog by Jeremy Tammik - absolutely amazing amount of information.
My dp Stuff blog has quite a few examples of Python scripts for those who are interested in Revit Python Shell.