Revit dimensioning and tagging

Greetings everyone
A few days ago I created a dynamo script in python code that automates a pipe support, creates an assembly from it and creates an automatic drawing for printing. On that drawing, it automatically creates 5 views (3D view, floor, front, right and top) and creates a bill of quantities for that support that is in the assembly (that bill of quantities contains the ID number, counter, length and weight). That’s what I’ve done so far.
Now I want to try to create automatic labeling and tagging for the 3D, floor and right views using python code, what do you think is feasible in Revit API 2025, are there a set of class functions and tools that will allow me to automate and customize Revit the way I need it.

Yes the API can do all of that, but it will be customized to your use case so you wont find something completely built for you to leverage as suits.

The Genius Loci package has plenty of nodes to get element references and place dimensions to them, I’d begin by looking there.

1 Like

Doing it via the API will be challenging. (There’s quite a bit of work involved, but I’m tackling it one step at a time to try to automate tagging and dimensioning of supports as much as possible.)
And this script I made has about 2,000 lines of code (I replaced around 160 nodes), so it’s not a small task.
Thanks for The Genius Loci package, but my goal is to solve it via the API.

The nodes in Genius Loci are written in Python and using Revit api, you can right click and edit them to view the code.

2 Likes

Thanks for the help, I will try to use part of the code from Genius Loci and make automatic tagging of the carriers.

1 Like