Learn how to create a custom pattern for your design projects using PyRevit. The article guides you through the process of designing a unique chevron pattern, starting from sketching out your own tiles, to utilizing the PyRevit plugin to finalize the pattern.
Key Insights
- The design process begins with sketching out your pattern using detail lines. The size and shape of the tiles can be customized according to your preference.
- The PyRevit plugin is an essential tool for finalizing the pattern. After sketching out the pattern, users can select their line work and use the "make pattern" command to generate the pattern.
- After creating the pattern, it can be added into the project through the manage tab, additional settings, and then fill patterns. The pattern can then be used as required in the design, such as for flooring, walls, etc.
This lesson is a preview from our Revit for Interior Design Course Online (includes software) and Interior Design Professional Course Online (includes software & exam). Enroll in a course for detailed lessons, live instructor support, and project-based training.
Now that we've used a custom pattern that we found from the internet to create this Chevron pattern, we're gonna go and create one of our own and we're gonna use that plugin PyRevit that we loaded. And so what I'm gonna do is I'm just gonna zoom out a bit and we can create a pattern just off to the side, say right here, or what we could do is if you wanted to keep kind of a catalog of these in your project, you can go to the view tab, go to drafting view, and we can just call this floor pattern and we can use this space as our drawing point. And so what I'll do is I'm just gonna essentially draw the pattern out and I'll use the detail lines.
And so start off keyboard shortcut DL for detail line. I'm just gonna draw two tiles back to back here. So two feet, because I'm gonna make an eight inch by one foot tile.
And so then I'm just gonna copy this up eight inches as we go here and this is two feet. And I'm actually gonna make this six feet. I lied, sorry.
Because I want it to be a three foot tile here. And so you can see if I split the tile, there's two back to back. And then if I just go ahead and do this again, copy it up a couple more times so that I've got like three runs of the tile here.
And I can make this as complicated as I want or as simple as I want, that's the beauty of it. So let's say I wanted to do four runs here, then I can draw my next one. And what I'll do is I'll set this guy so that it's a foot from the edge here.
You can say just grab that point to adjust the temporary dimension. So I'll put that one foot and then I'll move this one over another foot. And then this next one, if I were to do it again, it's gonna give me a repeat of the one on the bottom.
We don't want that. So I'm gonna go ahead and delete it. And so these are the three lines that we want in our pattern.
It doesn't necessarily have to be a square like this, but for me, I found that it makes it much, much easier for me to go through and draw it this way because if I have it set up this way, then I know that this distance here is gonna be the four foot line, right? And if I were to have a three foot tile, I know I can just copy this guy over three feet. And so it gives me full tile. And then these two portions, if they reproduce themselves like in a pattern, will make that full tile.
And same thing here, if I copy this over three feet, then I know that the remainder of this is that size. And so if I were to copy this in an array to make many different patterns together, then it'll create that pattern we're looking for. And so I've got two full tiles here, full tile and full tile, and then the portions that will create themselves.
If you see, if I copy it across, you can see it starts to create the pattern, which we won't need to do because we're gonna let the computer do that for us. But if I keep going this way, it starts to create that pattern that we're looking for, the kind of irregular one third offset on it as it goes up. And like I said, you can kind of do this with as many different variations if you want.
Like if you were trying to really create a really irregular flooring pattern that you wanted, you could definitely do that as well. And so now the secret sauce here is that PyRevit command. And so if I go to PyRevit and then make pattern, it's gonna want me to select the line work.
So you can see this is no line work selected. So I need to make sure I select that first. So I'll select my line work and then go to PyRevit, click make pattern.
And then here I can just type in my name or my pattern name. So I'll say eight inch by 12 inch and then one third offset cause that's the pattern that this is. And that's it.
Everything that you see here looks good to me. And then we'll go ahead and say create pattern. And then we need to go ahead and tell it where to start.
So this will be my origin point here at the bottom. So you can see that green bar at the top of the screen. It says pick origin point, bottom left corner of the pattern area.
This guy right here. And then the top right corner of the pattern area. And now that pattern is created.
And so just like with any other pattern we've used in this project, if I were to go to my manage tab, additional settings and then fill patterns, it'll show up within here as the pattern. You can kind of see it gives a pretty good preview of what it's going to look like. And so what we can do is we can go ahead and take the two patterns that we've created and add them as the flooring pattern into our locker room.