Automating Borehole Placement in Revit

Automating Borehole Placement in Revit

Type: Systemic
Benefits:
Efficiency

A script that lets users place multiple boreholes into Revit at once. It handles both coordinate transforms and inputs the relevant metadata.

A Closer Look

The Problem: Placing boreholes manually in Revit is slow and inconsistent. You have to figure out where they are relative to the model and manually enter their data. Inputs also vary wildy, from PDFs to DWGs to Excel sheets.
The Approach: A script that accepts a standardized input and creates boreholes in Revit at the correct location with all the relevant metadata—using Excel as the main input.
The Outcome: A faster, more consistent way to place boreholes. It also makes it easier to request data in a specific format from clients.

Boreholes are one of those things that are just annoying to deal with.

As part of the structural consultant team, we didn’t design them but we still had to include them in our models so everything could be viewed in context. And the data could come in just about any format.

Sometimes it was a PDF. Sometimes a DWG. And if we were really lucky, we’d get an Excel sheet with all the data in the right format.

To make the process easier and more consistent, I wrote a script that reads from a standardized Excel sheet and places boreholes into Revit. It handles the transformation from real-world coordinates into the Revit space and fills in all the relevant metadata automatically. There’s even another script that takes these borehole data and creates a topological surface.

The main caveat is that the script relies on standardized input. So someone still needs to prepare that. That might mean manually entering data from a PDF, DWG, or an Excel sheet.

But with a standardized format in place, I’ve been able to go back to clients and request borehole data in that format from the start. And most of the time, they’re happy to do it, especially when they know it’ll save everyone time.

Recent Projects

Extracting Tables From Drawings

Extracting Tables From Drawings

Quick Time Saver

A couple of hours of scripting turned 40+ DWG tables into clean Excel sheets. Saving days of manually filling it out and reducing the chance of errors.

Extracting Center lines From models

Extracting Center lines From models

Quick Time Saver

A script that extracts structural analysis centerlines from 3D models, saving engineers from re-building the model from scratch

Visualising Data in 3D

Visualising Data in 3D

Quick Saved Time Increased Clarity

A quick script that colour codes any property of a model in 3D