Revit Family with conditional statement

Anonymous

Revit Family with conditional statement

Anonymous
Not applicable

Hi Guys!

 

I'm hoping someone can give me an advice on how to correctly input formulas in my bracket family. This is the case:

1. I have a bracket with two types of support, Support Type 1 & 2 parameter.

2. What I want to achieve hopefully is when I tick Support Type 1, Height 2 and Height 3 parameter will be greyed out.

3. And, if I select Support Type 2, Height 1 will be greyed out.

 

The intent is for users to avoid changing unnecessary parameters that is not related to the support type they want to use.  Attached is a simplified Revit family. Thanks in advance!

0 Likes
Reply
701 Views
7 Replies
Replies (7)

barthbradley
Consultant
Consultant

.

 

No can do.  The only way to grey out parameter is to enter a formula.  

 

 

Now, what you could do is put in some instructions to the user. We do this in some of our families. An Instance Text Parameter Grouped under Constraints could deliver a more serious 1-liner like in this example:  

 

Readme2.png

Anonymous
Not applicable

Hi @barthbradley! Thanks for looking. I'm ok to have a formula but not sure what other restrictions I can put to make the goal achievable. Are you able to advice? Thanks.

0 Likes

barthbradley
Consultant
Consultant

Well, the formula would force a value for that parameter. Is that really what you want to do? 

0 Likes

Anonymous
Not applicable

Can that value be within a range so user has some flexibility to enter any number within that range? 

0 Likes

barthbradley
Consultant
Consultant

Give me an example or two.  

 

 

0 Likes

ToanDN
Consultant
Consultant

Nest your family into 2 other families and associate only the parameters that you wish to be accessible.  See attached file.

 

Annotation 2020-04-15 225232.jpg

ToanDN_0-1587016702522.png

 

 

barthbradley
Consultant
Consultant

I'm star-struck.  

 

😎

0 Likes