Revit API

I am newbie. I know Dynamo and Python, but im not aware of Revit API.
Its hard to learn Revit API. Is there any tutorials to learn Revit API

I used @Danny_Bentley once and his videos are great.
Search for him on youtube - you’ll see a playlist with tutorials of Revit API Python and another for Revit API C#.

3 Likes

Thank you so much

For general Revit API information, you can check out Jeremy Tammik’s blog. Most if not all of the examples are written in C# or VB. NET, but the information is still valid. You will have to translate from the C# code to the IronPython equivalent, but the syntax can be determined quite easily.

For example, in C#:
FilteredElementCollector collector = new FilteredElementCollector(doc);

and in Python:
collector = FilteredElementCollector(doc)

1 Like

You can also check out the Autodesk Revit API forums:

https://forums.autodesk.com/t5/revit-api-forum/bd-p/160

I also have a Git repository that is open like Jeremy’s blog for folks wanting to get into the API without starting from absolutely nothing.