Revit 2021 – Explore Revit API Docs

SHARE
Share on email
Share on linkedin
Share on facebook
Share on whatsapp

When one first starts programming, it can be daunting to come across the Application Programming Interface (API) of the application one is programming against. It looks complex, and indeed it is, however, with a bit of effort it is possible to start using the API to perform tasks not possible using the Dynamo or Dynamo package nodes.

In this video, I give an overview of how one should be looking at the Revit API Docs page, which shows the object model of Revit, and the properties and methods of the component classes. There are some examples of how one would use the properties and methods in C# and Visual Basic, although the Python examples are a bit sparse. I usually try to interpret the code into Python by myself, and if I fail, then I look on the internet or ask the forums for help. The programming community is very helpful and will assist if one is able to show that one is putting in the effort.

If you need help adopting Revit, BIM, and Dynamo in your practice, please contact Micrographics so we may be of assistance.

RECENT ARTICLES