Often when working with families I will add a parameter that is a Yes/No parameter. Easy peasy if there is only one type in a family. I can just set it after I add it. If I want it to be Yes for all types, done. That is the default setting. But what if you want it to be set to No on all types? Hold that thought.
We know how to set a text, number, or integer parameter value for all types. We can even do some mechanical, electrical, plumbing, and structural values for all types. We just use the Formula column and put in the value. If it is in the formula, it sets it for all types in the family. For example, here I have FL Amps set to 6 and Volts set to 120 with a formula. (Note: you don’t have to add the A or the V there, it is automatic.)
You try typing in a “no” in the Formula for a Yes/No parameter and you get your hand slapped by Revit with a message that it is not valid.
So just how do you get the no value set with a formula? You can use 1=0 which of course is not true. Want them all to be yes, 1=1 which is true.
When you are finished, you can remove those formulas if you wish to have them editable in the families.
If you want to see more about formulas in families check out the Community Conversation on Favorite, Fabulous, Formulas for Families in Revit.
Donnia Tabor-Hanson aka CADMama
Revit Family Counselor
Twitter @DonniaTH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.