I am trying to have visibility parameter selected based on Parameter Value equaling the value entered? I set up parameter - Type of Const and several visibility parameters. If I enter IA for the "Type of Const", I then want the IA visibility parameter visible and all others not visible.
Gelöst! Gehe zur Lösung
Gelöst von David_W_Koch. Gehe zur Lösung
@MS_jkimc65 wrote:If I enter IA for the "Type of Const", I then want the IA visibility parameter visible and all others not visible.
All others would "=Not(IA)" then. No?
Revit Formulas for "everyday" usage (revitforum.org)
I feel you are vague in your response, I don't follow what you mean by . . .
All others would "=Not(IA)" then. No?
"No?" was a question back to you. "Not(IA)" in the Formula for "IB" would uncheck "IB" if "IA" was checked. Get it?
Did you see the link I posted? It talks about this and other formulas you could employ, such as "OR" and "AND".
You might also consider using Filters for this.
Revit cannot compare text values, so you will not be able to set up a formula like:
if(Type of Const = "1A", 1=1, 1=0)
If you can live with using an integer parameter (called, for example's sake, ConstType), in which you assign meaning to each value (eg, 1 is "IA", 2 is "IB", 3 is "IIA", 4 is "IIB", etc.), then you write a formula for each Yes/No parameter similar to:
if(ConstType = 1, 1=1, 1=0)
You can save your users from having to also enter the text value by assigning a formula to the Type of Const parameter:
if(ConstType = 1, "IA", if(ConstType = 2, "IIB", if(ConstType = 3, "IIA", if(ConstType = 4, "IIB", if(ConstType = 5, "IIIA", if(ConstType = 6, "IIIB", if(ConstType = 7, "IVHTA", if(ConstType = 8, "VA", if(ConstType = 9, "VB", "Undefined Construction Type")))))))))
David Koch,
Thanks for the feedback, I was stuck with the parameter text value that revit can't compare you spoke of and that is where I was confused. I knew I needed a formula for each of the visibility parameters, I was on the right track somewhat, that makes sense to create a parameter to assign an integer for an input/value. I appreciate your response and thanks again!
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.