Join Paul F. Aubin for an in-depth discussion in this video Add length and width to a room tag using global parameters, part of Revit: Tips, Tricks, and Troubleshooting.
- [Instructor] This week we're going to do a continuation of the tip that we talked about last week and that was to add length and width labels beneath our room tags. So if you watched last weeks tip you recalled that we created shared parameters and applied those to rooms and then using the values from standard Revit dimensions we input those values into these manually created parameters for each of our rooms and then subsequently had our room tag report those values.
The problem with this process was it was very manual, we had to input all the data one room at a time and then as changes occur in the model we had to go back and reimport the new values into those dimensions, in other words, there's no connection between these dimensions and the room that's being measured. So what we want to look at in this weeks tip is is there some way that we can go in and make a connection between those dimension values and the room values, and it turns out that we can. We're going to use something called global parameters.
So let me switch back over to our dimensioned plan and as you may recall from last week I had dimensioned all of the rooms and I colored those dimensions in red just to make them stand out. Now I'm going to start over here in the entry space room 101 and I'm going to select its long dimension, the dimension that I want to assign to the length of this room. Now instead of actually selecting the room and then inputting the value manually over here what I'm going to do instead is select this linear dimension and then notice on the ribbon on the modified tab there's a label dropdown.
Now at the moment that label dropdown has no options, but right next to it is a small create parameter button. I'll click that and I'm going to type in 101L, for length. Now the most important part of this is I want to check this box right here called a reporting parameter. A reporting parameter means that it actually measures the length and reports it back rather than actually driving the geometry and changing the size of things.
So this reporting parameter will keep track of how big this particular room is along its length, and I'll click okay. Then let me do the same thing for the other dimension and I'll call that 101W and also make that a reporting parameter. Now that I've done those two reporting parameters I can go back and select the room and then scroll down over here and instead of inputting the values manually in this field notice that there is a small button right here called associate global parameter.
If I click that you're going to see those two reporting parameters that we just created. So I'll assign L to the length and I'll assign W to the width, and notice that it fills in those values for me automatically, but more importantly if I were to select this wall right here and move it slightly notice that this dimension will update and more importantly when we click on the room and scroll down you're going to see that the new length is input in the room length field.
Now I'm going to undo that change to put that wall back. So let me move on to room 102. So once again I'll select the long dimension and this is the most tedious part of this solution. I'm going to need two reporting parameters for each room. Now I'm just calling them the room number followed by L or W and making sure to check reporting each time and then once again I can select my living room space and associate it with those parameters.
So let me keep going in that same fashion. So I've completed all of the reporting dimensions and applied them to all of the rooms everywhere in the plan except for these three spaces that I have here in the middle of the walk in closet, the bathroom, and the hallway. The reason I wanted to save these is because I've setup separate parameters for each of their widths, but this parameter here will be shared by all three of those spaces. So you don't have to actually create separate parameters if you can use a single one for more than one space.
So I'll create a new parameter and I'll just name this 107, 110, and 111L just so that it's clear that this one is going to apply to three different spaces. Now you can only store one value at a time in a reporting parameter. So the reason this works is because these three spaces will always have the same length. So now I could select all three of these rooms holding down my CONTROL key here and scroll down and assign them to that one reporting parameter.
Now as far as the width goes I can't do that so I'll have to assign those individually. So the walk in closet is room 111 and the bathroom is room 110 and the hallway is room 107. As you can see the tags are filling in automatically with the values from these reporting parameters. Now if we scroll down and locate the room schedule you could see that all of that information is filling in as well, minus the closets which I chose not to do.
Then more importantly the main value of this technique is unlike the technique we looked at last week here if the size of the space changes, like for example moving this wall that will update the room automatically and more importantly our tag will now update as well. So it is still a fairly manual process, because we have to create each of the reporting dimensions, but once we've created those reporting dimensions they will stay active and update with any of the changes.
So it becomes a much more powerful technique then what we looked at previously, which was all manual. I'm going to show you one last thing that we can do here if you choose to. I'll cut a section through this master bedroom and I want to show you this ceiling element right here. Now if you wish you can actually dimension that as well. Select that dimension, label it, I'll use H this time, and click okay.
Now you may recall when we setup our project parameters we created length and width well it's possible to also go back to manage, create a new project parameter called height, which I've already placed in this file. Therefore, when I select this room notice that even though the room is actually taller than the ceiling I can tell it to report the ceiling height instead. The reason for that is because the value that I feed into this height parameter can come from anywhere.
So if I label this value with the reporting parameter for height it will input the value from the ceiling object regardless of what the room element itself is doing. And again if the ceiling height changes and we come back and select this room it will reflect that new value. So you can do this for just length and width, but you can also do it for height or really any other value that you like.
So as long as the value that you're after can be captured with a reporting global parameter you can feed that back into your room element and report it in your tags.
NOTE: The exercise files for this course can only be opened in the most recent version of Revit (Revit 2017).
Skill Level Appropriate for all
Q: Why can't I earn a Certificate of Completion for this course?
A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.