Goal amount for this year: 2500 USD, Received: 1627 USD (65%)

# Thread: Family - yes/no paramter - formula

1. ## Family - yes/no paramter - formula

Hi,

I'm trying to make a formula for a yes/no parameter which is depending on other yes/no parameters.

I have three yes/no parameters:
Handjes
Isokorf
Oplegging

Basically what I want for the 2nd and 3th yes/no parameter is:
To be turned OFF when one of the three yes/no parameter is ON

How can I put this in a formula?? I've added a screenshot to show you guys the parameters.

I've searched this forum and others, but no result. Thanks a lot to the guy/girl who can help me!!

Kind Regards!

2. Originally Posted by BdeLeeuw
Hi,
...
I've searched this forum and others, but no result. ...
Welcome to Revitforum.

I suggest you to search again. This topic has been covered here and in other forums multiple times. If you don't find results from the Search button of this forum, try searching in Google, and most likely it will take you to a thread here or a thread in the Autodesk forums, or Augi.

3. THIS POST of Alfredo's might get you there.

4. Hello,

I am not 100% sure what you are trying to do.
You want to three yes/no parameter but you don’t want to check/uncheck manually for 2nd and 3rd ?
Or still, you want to check from three options?

So if

A,B,C are your potions to check but you cannot be bothered to turn off on you don’t choose. Then you might wanna make dummy parameters and if you associate these parameters to objects to control the visibility then

a =if(or(B,C),2<1,2>1)
b =if(or(A,C),2<1,2>1)
c =if(or(A,B),2<1,2>1)

Now you associate the visibility with abc instead ABC.

You still check/uncheck ABC parameter but you can apply separated formulas for each parameter.

If I am off your point, sorry
I recently figure out how to control yes/no parameters and got excited, willing to share with someone.

Thanks,
Yuki

Sent from my iPhone using Tapatalk

5. Welcome to Reviforum

Just a comment about formulas with OR or AND in yes/no parameters: the characters highlighted in red are unnecessary. Just do the OR or AND part, and Revit will evaluate that as true or false. No need to put IF, and then two greater than one, two less than one... Just: or(B,C)

6. Oh yeah true.
Thank you for pointing out.

Sent from my iPhone using Tapatalk

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•