I am trying to make a nested window family which contains both an open and fixed panes which can be controlled with visibility .
I have the following visibility Yes / No parameter
Hung – Top
Hung – Bottom
Hung – Left
Hung – Right
Frame – Opening
Frame - Fixed
I am trying to control the visibility of the Frame - Opening and Frame – Fixed from the values of the hung properties.
If any of the hung values are set on I would like Frame – Opening to be on.
If non of the hung values are selected I want Frame – Opening to be switch off and Frame - Fixed to be on.
Sure this is very simple of someone out there.
Any helps is appreciated.
S
Solved! Go to Solution.
Solved by L.Maas. Go to Solution.
The easiest way is to use "and" "or" "not" statements in a formula
in the formula for "Frame - Opening"
=or(Hung – Top, Hung – Bottom, Hung – Left, Hung – Right)
This means if any of the value are true then "yes"
in the formula for "Frame - Fixed"
=Not(Frame - Opening)
Louis
Please mention Revit version, especially when uploading Revit files.
Don't use that hyphen or dash symbol in the name of a parameter. Revit might understand that as a "minus" symbol when you use any of those parameters in a formula.
Use the NOT operator, as shown above.
If you have one parameter that can be either Yes or No (such as a Yes/No paramater that offers a check box in the properties), then setting up a second Yes/No parameter and assigning a formula of
not(ParameterName)
will give you the inverse, or negation, of that first parameter (where ParameterName is the name you gave the first parameter).