Join Eric Wing for an in-depth discussion in this video Yes/no parameters and if statements, part of Revit Families Workshop.
In this lesson, we're going to add an If statement, and a Yes, No statement 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 Wayne's Coat. But if we give this choice, we need to …make our styles magically go from three quarters of an inch, to a half inch. …While keeping our rails at a consistent three quarter of an inch. …We can do just that. The objective of this exercise is to …create a yes, no Parameter. And then use an if statement to control …the dimension of our styles. To get started, Open your family called …Styles and Rails, and follow along. So essentially, if you see here under Graphics.…
I have a new parameter called Style Thickness and I move my back panel …graphic up. So essentially, we start an end statement …if, back panel, meaning if back panel's yes, then a half inch, with a comma. …If not, three quarters of an inch. It's a pretty simple expression. …
- Creating a basic profile family
- Creating a door family
- In-place massing
- Working with complex families
- Using yes/no parameters and if statements