Most of the offices I’ve worked in had a standard practice for numbering doors. Usually the door number matched its room number, with a letter sequence designating each door in the room. So the first door in room 101 is numbered 101A, the second 101B, and so on.
Revit makes dealing with rooms and doors much easier but unfortunately, it doesn’t provide an easy way to link the door number to the room number. Doors know what room their in, courtesy of the “To Room” and “From Room” parameters, but there’s no direct way to use that information to populate the door number. That is, without resorting to some code.
This Revit macro automates the process of numbering doors based on their room number. It reads the “To Room” parameter and combines it with a letter sequence to generate the new door number. Here’s a before and after example of the macro in action:
Here are a couple more things to know about the macro:
- The letter sequence of doors within a room is determined by the order in which the doors were created. If a closet door was created before the main entry door, it will be the “A” door. Unfortunately there isn’t an easy way for the macro to determine which door is more important.
- Also, the macro doesn’t create a link between the door number and the room number. If your room numbers change, you’ll need to re-run the macro to update the door numbers.
Download the Free Macro
You can download the macro from the free ArchSmarter Toolbox. Don’t have access? Sign up for ArchSmarter updates in the form below and get immediate access to this and other time-saving Revit macros!