Toggle Several Parameters At One Time
With Revit’s Yes/No parameter data type it is very easy to toggle two parameters using the statement: Not(Option A) in the formula field for Option B. Un-checking Option A checks Option B automatically. Checking Option A un-checks Option B automatically too.
It isn’t so straightforward to apply the same concept to multiple check boxes. Let’s say we’d like to have four options and only one of them should be visible at a time. These objects require their own yes/no parameter to make them visible or not. To decide which option is visible we’d like to just check the option we want and see the others unchecked automatically.
Here’s one way you could accomplish this. Let’s say we have one parameter using the integer data type, called Choose Option. We also have Option 1,2,3 and 4 parameters (yes/no data type) to assign to the objects involved. If we just add a formula to each option parameter that determines whether it is yes/no we can toggle our choice very quickly, with one data entry.
Is it almost as quick as checking a box? Pretty close!
One little side effect, if you enter a value that doesn't have a corresponding option...nothing is visible and you turn off all options! Good, bad? You be the judge.