Revit API Docs Code Sample

Since the last release of Revit API Docs earlier this year, the website allows the community to contribute code samples with the wider community. I am hoping that over time, this section will be very helpful, especially to beginner Python API developers who struggle to “translate” the C# documentation into Python.

The code is accessible through the Code tab of the website (, but it’s pulled directly from the GitHub repository using the Github API.

More info on the project and how you can contribute here:


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.