Archive
C#
-
How I Used AI To Recreate The Iconic Structure in King’s Cross Station With A Revit Macro
Here’s what happened when I challenged an AI to model the complex structure of King’s Cross Station in Revit. No Dynamo, just raw C# as a Revit macro.
-
We’ve published the initial release for the Ephany .Net SDK!
We are stoked to announce the immediate availability of the Ephany .NET SDK v0.1.0! This initial release marks a major milestone for our platform, opening the door for developers to seamlessly integrate the power of the Ephany Framework directly into their own tools. We have poured a lot of coffee and code into building a…
-
Is Dynamo Dead? Here’s How AI is Bringing Revit Macros (C#) Back To The Forefront.
With the emergence of AI as a coding partner, I’ve found myself leaning back into the Revit Macro Manager. The barrier to entry for text-based coding has nearly vanished, and the results are cleaner, faster, and more robust than anything I could “wire up” in Dynamo.
-
Retrieve Parameter Values Using the Revit API
When working with BIM data using the Revit API, one common step is retrieving parameter values from elements. Whether your goal is to extract or modify the data of an Element, reading parameter data programmatically is almost always going to be your first step. This is a relatively simple task, however it can be a…
-
A Beginner’s Guide to the Revit API TaskDialog
How to build clean, professional dialogs inside Revit add-ins If you’ve ever built a Revit add-in, you know the quickest way to talk to your users is with a simple TaskDialog. It’s lightweight, native to Revit, and far more flexible than a standard .NET MessageBox. In this post, we’ll walk through how a TaskDialog works,…
-
Programmatically Retrieve all Shared Parameters in a Project Model using The Revit API
A few months ago, I shared a post on OpenDefinery about a simple solution to fully purge Shared Parameters from a Revit project model. In that post, I shared my discovery that Shared Parameters have an Element ID just like any other model element, which means you can select the parameter through the Revit UI using…
-
Revit BuiltInCategory Enumeration (2018.3)
I searched and searched for hours and still have not found a list of all members of the BuiltInCategory enum along with their hashcodes. This is very helpful for working with shared parameters which need the DATACATEGORY value, as you cannot use the name of the built-in category (Revit looks for the hashcode in the…





