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: 

If statement

3 ANTWORTEN 3
GELÖST
Antworten
Nachricht 1 von 4
yes_and_no
325 Aufrufe, 3 Antworten

If statement

I have window trim profile at 3 y/n choices,

Profile = 2.5" (not a y/n, default)

Wide 3.5"

Wider 5.5"

My if and statement is not working,

Profile= if(and(wide, wider),(3.5", 5.5", 2.5")

 

3 ANTWORTEN 3
Nachricht 2 von 4
barthbradley
als Antwort auf: yes_and_no

.

 

Post a screenshot of your Family Types dialog box. 

 

 

=if(and(Parameter A, Parameter B), Value if True, Value if False))  

 

What the heck is the third value here?  =if(and(wide, wider),3.5", 5.5", 2.5")  

 

 

 

 

Nachricht 3 von 4
David_W_Koch
als Antwort auf: yes_and_no

Does Wider always take precedence over Wide or Default, and Wide over Default?

 

If so, then perhaps this will do what you want:

 

if(Wider, 5.5", if(Wide, 3.5", 2.5"))

 

If not, you will need to explain what you are trying to do in words, and someone here can help you translate that into a formula.

 

2024-07-06_15-35-08.PNG

 


David Koch
AutoCAD Architecture and Revit User
Blog | LinkedIn
EESignature

Nachricht 4 von 4
yes_and_no
als Antwort auf: David_W_Koch

  • This is not good, this is EXCELLENT !!!

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