PDA

View Full Version : 2020 IF Then Formulas with Yes/No parameter reporting text



diggyblue
2020-04-26, 06:50 PM
All,

I am looking for how to use a Yes/No parameter to report text within an additional parameter.

For example, I have a parameter that is called Left which controls the visibility of the elements on the left side of a family. If that box is checked, I want an additional parameter to report "-L" that I may combine with other parameters within a schedule.

Does anyone have any experience with Revit formulas that make this able to happen?

Thank you,
Megan

david_peterson
2020-04-27, 04:24 PM
Sure
So on our casework families we have a parameter for "Locking". If you check the box we have a little symbol appear.
Also we have a tag that will reads a label for Locking.

So the yes/no parameter is simple. It's just called "Locking"
Then we have a shared parameter called "Lock Status" with a formula if(Locking, "L", " ")
So this will either display a "L" in the label (or in your case the schedule) or it'll be blank.
Hope this helps.