Original Thread:
"Hi,
I have created a door family with 3no. Options using Yes/No parameters to determine which option displays at any one time. Each Option is referenced to an 'Integer' parameter which I named "Choose Option". The Options are 1, 2 and 3. As an option is selected the the Yes/No box checks accordingly making so only that option visible. This is all working fine.
What I want to achieve is to limit the options to 1 - 3 or cause any numbers other than 1 - 3 to return a value of 1 or 3. To resolve this I created an additional Integer parameter and input the following formula: "if(Choose Option < 1, 1, if(Choose Option > 3, 3, Choose Option))". This works in controlling the parameter numbers e.g. if I select '0' the option returns to 1 or if I select '4' the option returns to 3. but this parameter is not connected to the original option so is working independently with no affect to the family.
Can anyone tell me how I would connect the parameter if at all possible or give me an alternative work around please. I have attached an image for refererence.
Thanks,
Peter"
Solution:
The following are three possible solutions:
A, Use an If Statement Formula
[Image Insert Failed]
B, Use a Less Than, greater Than Formula
[Image Insert Failed]
C, Use a Less Than, Greater Than Formula with an Or Statement
[Image Insert Failed]