Building Information Modeling

How to Create Custom Revit Tags

To learn more, please visit:

In this short clip we’ll walk you through creating custom tags in Revit.


Hi everyone my name is aprenda batya and this week’s tech tip is about how to create custom tags so today we’re gonna just go over our window tags but you can use this process for any tag you would like so right now we have a window tag here which is currently reading the

The type mark of the window so if i click on the window and i go ahead and click on edit type you’ll notice that it says wn1 and that is basically what our tag is reading we kind of want this to read a lot more information so i’m going to go ahead and

Edit this tag okay so we’re going to go ahead and edit family over here i don’t really want that little hexagon there anymore it was just to identify that this is a window tag um i don’t really need that because we’re adding a lot more information that

Will tell us that it’s a window so i can click on the label that’s already created here we can go ahead and edit label and in here we can type bring in all the parameters we want the tag to read okay so in our case we wanted to read the rough width

And the rough height we also want it to read our sill height over here if we wanted it to read the type name as well we can go ahead and click on type name and bring that in this will tell us what’s the name of the family um or the

Family type basically um in our tag if you don’t need that information you can easily take that out okay so for us we won’t place that in but if you wanted to that option is available we can also we’re also going to bring in some type comments in case we wanted to

Inform people that this is a fire rated window and so on and so forth so we can put in that information in the type comments okay so now that i have all of these elements brought in what i can actually do is start modifying or updating the tags so if i

Hit ok here you’ll see that all of the data we loaded in is just like getting wrapped up and doing something silly like this um so if i make it wider everything is in one line that’s not really how we want it right we want to

Kind of have gaps and breaks in between so we’re going to go ahead and hit edit label again and here there’s this break command so you know how you would type an enter to move the next item to the next line so here we’re going to type in we’re going

To check on the break command so at the end of this it will type and enter and move the rough width and all this data to the next line and then for the rough fit and the rough height i want these two to be in the same line but i actually want to

Put in a prefix for this so i’m going to add in the prefix r dot o dot and then i’m going to add in a space so that there’s a space between ro and the value of the rough width dimension and then over here for the suffix i’m going to type in

Space and then a small x okay and over here i won’t add in any space after after the fact i’ll just add it before because there’s this spaces command it already added one space because these two items are on the same line so by default it adds one space already if you didn’t

Want any space you can easily change this to zero um and there will be no space but just make sure there’s no space here as well just for consistency sake okay after the rough height i again wanted to break so i wanted to go to the next line

And then here for the cell height i kind of want the prefix to be s-i-l-l again i’ll hit the space bar just so that we have a gap between the prefix and the value and i’ll copy that one and paste it as part of the sample

Value it this doesn’t change the size of your windows it’s just a sample value for you to see what the text will look like okay um and again after the cell height i want to break before we get to the comments okay so here i’m not gonna put any prefix if

There is no comment i don’t want anything to show up if there is a comment then it will show the comment okay so for now this is how it’s gonna be um and that’s pretty much it so that sets up my tag i’ll just hit ok and that’s all so this looks pretty

Decent we’re going to go ahead and load this into our project and say if you wanted to save the tag you could i’m going to say no i’m just going to replace the one i have and overwrite the existing version and its parameters and there you go we have a really quick

And simple custom tag and it’s reading the data from the windows so you’ll see that all these are at the same sill height we want to make sure that the reason we want to read the cell height is so that we can make sure that our minimum length within our nwf panel

Properties is set up correctly so if this window was actually at um one foot sill height over here the still height value will change and now our cripples are no longer valid or minimum length is at one foot um so if you add in the sill the the height of the is much

Shorter so that does not work anymore so we have to go either update the template or check out why the cell of the window is actually set up so low right so it’s kind of a good qa qc option for us and if i did add a comment in so if i went

To edit type and then go inside the type comments and add in a type comment like to our fire rating frr we’ll hit okay here oops okay and then there you go it will update um the window tag with that data so whatever uh window you’re relating it to that’s the

Data it’s gonna read okay so here you can see that the sill height is one foot here you can see it’s two and a two feet eleven and a half inches so the tags can actually have instance parameters and type parameters as part of them um as long as it’s not a project

Parameter okay that’s it for this week’s tech tip have a great day


(Visited 1 times, 1 visits today)
Was this article helpful?