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 parameter formula if and

3 ANTWORTEN 3
GELÖST
Antworten
Nachricht 1 von 4
esvitasheva
694 Aufrufe, 3 Antworten

Revit parameter formula if and

Hi everyone,

 

I am trying to set up formula which will give me few options for total height ( I need 6 options)

I found IF AND formula the best, but it works perfect only with one condition AND

if(and([Рама 34/59], [Створка 48/33]), 92 мм, 0 мм)

 

I need something like this! but it doesnt workS:

total height = if(and([Рама 34/59], [Створка 48/33]), 92 мм, if (and([Рама 34/59], [Створка 50/41]), 100 мм, 0 мм, if (and([Рама 44/69], [Створка 50/41]), 110 мм, 0 мм)))

 

esvitasheva_0-1617202574386.png

 

Beschriftungen (2)
3 ANTWORTEN 3
Nachricht 2 von 4
barthbradley
als Antwort auf: esvitasheva

Conditional statements can contain numeric values, numeric parameter names, and Yes/No parameters.

 

 

Revit Formulas for "everyday" usage (revitforum.org)

 

...are you receiving an inconsistent units error?

 

Revit - Inconsistent Units and how to neutralize them. (revitforum.org)

 

Try this: 

 

 if(and([Рама 34/59], [Створка 48/33]), 92 мм, if (and([Рама 34/59], [Створка 50/41]), 100 мм, if (and([Рама 44/69], [Створка 50/41]), 110 мм, 0 мм)))

 

Nachricht 3 von 4
barthbradley
als Antwort auf: esvitasheva

 if(and([Рама 34/59], [Створка 48/33]), 92 мм, if (and([Рама 34/59], [Створка 50/41]), 100 мм, 0 мм, if (and([Рама 44/69], [Створка 50/41]), 110 мм, 0 мм)))

 

Nachricht 4 von 4
esvitasheva
als Antwort auf: barthbradley

Thank you! It works!

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