Hey everyone,
I'm trying to make a door family that basicaly uses a YES/NO parameter for it's door panels, i want the family to have the option to select between the different options for doors types (smooth, full glass, light etc...) with the visability YES/NO parameters but in order for 1 door to apear, i would like to turn off the others, for example, if i chouse the smooth door panel, i would like the other YES/NO parameters to be turned off.
I was trying to look up the correct example for my situation but unfortunately with no luck, i am uploading the family in order for you guys (and girls) to see what i'm talking about, please help me with the problem ![]()
Gelöst! Gehe zur Lösung
Gelöst von Keith_Wilkinson. Gehe zur Lösung
Gelöst von L.Maas. Gehe zur Lösung
hello, your family looks okey once you load into a project. i attached back your file. thanks
Hi danny068,
usually the formulas are like:
Smooth Door = AND(NOT(Full Glass Door), NOT(Double Glass Door))
then the parameter Smooth Door shows TRUE, if both are not. The moment one of the others is TRUE, Smooth Door shows FALSE. But if you try to apply this formula also to the others you got a chain in your definition, because the parameters depend on each other.
Maybe you should try to work with family types to choose between this options and not use this parameters. Just a suggestion.
Excuse me ennujozlagam, but the file that you have uploaded is not working for me the way you are showing, the other door panel do not LOCK when you choose 1 and the 2 other are still open for selection.
I wouldn't use a yes/no parameter for this. You will find much better functionality and user control by using the 'Family Type...' parameter. I assume your panels are all nested into the host family so should work fine. better than ticking a bunch of boxes... i think.
For any other possible way to use formulas in Revit you should maybe chek out THIS.
But I still think, if you just try to limit mistakes, then a "Family Type" would be better. A user who has no experience with Revit will just choose between the Types. To know you can click on the Button "Edit Type" to change Type Parameters shows me, that the user thinks he has to change something and for that hopefully thinks first before changing something stupid. But a user who just wants to apply a fully glassed Door would probably just use the Family Type Full Glass Door.
It is possible. But I think too much work.
What you can do is create three new parameters (e.g SD, FGD, DD). These are the panel selections. Than for Smooth Door etc you can create formulas
You see it gets quite complex. In this instance I took into account when two boxes are checked, when all boxes are checked and when no boxes are checked. In all cases (not fully tested) you will end up with a single panel, Where Smooth Door has highest precedence (for example when all or no check boxes are checked).
So this is for three panels. Imagine doing this for four or more panels....yikes.
Louis
Please mention Revit version, especially when uploading Revit files.
You will never get a good solution for this using yes/no parameters simply because the basic functionality isn't there in Revit - i.e. the ability to select only one of a series of yes/no parameters. Anything you do will be a workaround and your users will hate you for it.
As @L.Maas has illustrated you can get something to work in the background but you can still select all threee panel types which is arguably more confusing to the user and more likely to lead to problems.
Keep it simple - either use different door families (there is a desire to encorporate as much into 1 family as possible but often its just as easy to have 2 families - this provides clarity for the user and also their easier to maintain) or as others have suggested use the Family Types parameter - this is what it's intended for. My preference is the former.
Thanks everyone for the quick and good advices!
Have a nice weekend everybody.
![]()
If anyone comes across this thread again and like me wasn't satisfied with the answers try choosing the option with numbers as shown here (Revit still can't use text in formulas though xD).
another option for controlling your family based on the type of a nested family here.
source credit: https://www.revitforum.org/node/23193
Another option is to use integers for the options, and then do this: https://forums.autodesk.com/t5/revit-mep-forum/if-then-formula-and-quot-yes-no-quot-parameter/m-p/38...
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.