From the course: Learning Revit Families

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Yes/no parameters and if statements

Yes/no parameters and if statements - Revit Tutorial

From the course: Learning Revit Families

Start my 1-month free trial

Yes/no parameters and if statements

- [Instructor] What I'd like to do here is add an if statement and a yes no parameter to our family. There's a lot of what ifs to consider when creating a family. What if we want to give the user a choice to add a quarter inch panel to the back of the wainscot? But if we give this choice, we need to make our styles magically go from three quarters of an inch to half an inch. While keeping our rails at a consistent three quarters of an inch, we can do just that. So let's do it. Under families, let's go open. I'll browse for I'm keeping my exercise files, and I have a style and rail if. Again, if you're following along, don't worry about it. This is just if we're jumping to it. Let's click open. Here's what I want to do. I want to go to my family types, and I want to click on new parameter. For the name, I just want to say back panel. It's going to be an instance parameter. Now the type of parameter, I want it…

Contents