This course is for people who want to do more with the Autodesk Revit building information modeling software.
You can do a lot of great things with Revit as it ships “out of the box” from Autodesk, but there are still many tasks that are repetitive, boring, and error-prone. There are also many situations where you can be more effective and productive if you can add additional functionality to Revit.
This course will cover a wide range of topics in the Revit API. Each topic will be taught by walking through a set of C# code samples that progress from the basics to more advanced concepts.
More content will be added to this new course in the upcoming weeks. If you see a topic that you like added, just let me know and I will try to make that addition.
|Section 1: Revit API Basics|
Introduction: A Simple Macro
Prompt user to select an element & get element info
Prompt user to select edge or face & get edge/face info
Selection – getting and setting selected elements
Find Elements – FilteredElementCollector #1
Find Elements – FilteredElementCollector #2
Find Elements – LINQ queries
Create an External Command
Family Types and Parameters
|Section 2: .NET, C# and general programming basics|
Read and Write Text Files
Directory and Path operations
Read from Excel into a Revit API external command
Write Revit data to Excel
Code Reuse and Helper Functions
Creating Windows Forms for User Input
|Section 3: Element Operations|
Delete an element – Intro to modifying the document
Create text note and get and set parameter values
Set parameter value & Check parameter storage type
Built in parameters
Create Family Instance (Furniture)
Create Family Instance (Door)
Get Workset of an element
|Section 4: Element Geometry|
Element Location – LocationCurve & LocationPoint
Get geometry of host faces
|Section 5: Debugging Revit API Code|
Step Into a Macro
Debugging external commands in Visual Studio
|Section 6: Intermediate / Advanced topics|
Ribbon UI – tab, panels, buttons
Write comments to the journal file
Dynamic Model Update
|Section 7: Source Code from BoostYourBIM blog posts|
Get Categories & Materials from multiple Revit families
Record view creation date in a shared parameter
|Section 8: Responses to Questions|
|Section 9: Boost Your BIM “Sneak Peek” Installers|
File Version Check
Topo From Lines
Harry is the founder of Boost Your BIM, a software development and training company that collaborates with AEC firms to make Revit better. Boost Your BIM customers benefit from custom-built API applications that extend Revit’s capabilities and enable them to complete their work faster and with better results.
Boost Your BIM has built applications to automate routine tasks, enforce company standards, extract model data, use the Revit UI more efficiently, and solve other problems that would be difficult or impossible to do with Revit in its “out of the box” state.
Harry was an employee of Revit Technology Corporation and Autodesk from 1998 to 2012 and spent four of those years developing and testing new Revit APIs in areas such as the Family Editor, Massing, Analysis Visualization, Dynamic Model Update, and Views & Schedules.