Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Revit Family with conditional statement

7 ANTWORTEN 7
Antworten
Nachricht 1 von 8
Anonymous
687 Aufrufe, 7 Antworten

Revit Family with conditional statement

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!

7 ANTWORTEN 7
Nachricht 2 von 8
barthbradley
als Antwort auf: Anonymous

.

 

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

Nachricht 3 von 8
Anonymous
als Antwort auf: barthbradley

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.

Nachricht 4 von 8
barthbradley
als Antwort auf: Anonymous

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

Nachricht 5 von 8
Anonymous
als Antwort auf: barthbradley

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

Nachricht 6 von 8
barthbradley
als Antwort auf: Anonymous

Give me an example or two.  

 

 

Nachricht 7 von 8
ToanDN
als Antwort auf: Anonymous

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

 

 

Nachricht 8 von 8
barthbradley
als Antwort auf: ToanDN

I'm star-struck.  

 

:lächelndes_Gesicht_mit_Sonnenbrille:

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report