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" formula with "False reslut" get value itseft

18 ANTWORTEN 18
GELÖST
Antworten
Nachricht 1 von 19
Ar_vxv
1016 Aufrufe, 18 Antworten

"IF" formula with "False reslut" get value itseft

Hi!
Same like title. I try write If formula with false result by Input value ( not by  prevalue specify).
Is this possible!? Or another approach
For Examle: IF (H.1<110, H.2, <input value>)
With H.1, H.2 : the lengths of the two vertical sides
thanks for any help

Tags (1)
18 ANTWORTEN 18
Nachricht 2 von 19
barthbradley
als Antwort auf: Ar_vxv

I'm not clear what the "input value" is. Is it a value that can be computed?  

Nachricht 3 von 19
Ar_vxv
als Antwort auf: barthbradley

Hi!
if i don't use formula. I will have to enter smt in the value cell= <input value>
>>> IF H.1 not < 110, <False reslut> by my <input value>.
Nachricht 4 von 19
barthbradley
als Antwort auf: Ar_vxv

Still unclear. What is supposed to happen if the formula returns "input value"?  Nothing?  Or do you literally want the Parameter feild to read "Input Value".   If it's a Text Parameter it could.  

 

 

Nachricht 5 von 19
Ar_vxv
als Antwort auf: Ar_vxv

when H.1 <= 110 . I use the value of H.2
When H.1 > 110. I want to enter numeric value in value cell
Looks like this is not possible in revit. So is there any other way in this case

Nachricht 6 von 19
ToanDN
als Antwort auf: Ar_vxv


@Ar_vxv wrote:

when H.1 <= 110 . I use the value of H.2
When H.1 > 110. I want to enter numeric value in value cell
Looks like this is not possible in revit. So is there any other way in this case


You cannot have a parameter that for input value and also reacts to a formula.

You need to add Input Value parameter:

d.2_input

d.2 = if (H.1 <110 mm, d.1, d.2_input)

Nachricht 7 von 19
barthbradley
als Antwort auf: Ar_vxv


@Ar_vxv wrote:

when H.1 <= 110 . I use the value of H.2
When H.1 > 110. I want to enter numeric value in value cell
Looks like this is not possible in revit. So is there any other way in this case


 

Look it; if H.1 is greater than 110, you are going to have to arrive at SOME value. Why can't that value already be computed and ready to use?   

Nachricht 8 von 19
Ar_vxv
als Antwort auf: ToanDN

can you explain d.2_ input more specifically:
I cannot enter d.2_input for Revit to accept.
which one do you mean:
-d.2_input
-d.2_100
-100
Nachricht 9 von 19
ToanDN
als Antwort auf: Ar_vxv


@Ar_vxv wrote:
can you explain d.2_ input more specifically:
I cannot enter d.2_input for Revit to accept.
which one do you mean:
-d.2_input
-d.2_100
-100

The formula: d.2 = if (H.1 <110 mm, d.1, d.2_input)

in plain English: if H.1 < 110 mm then use value of d.1 for d.2, if H.1 ≥ 110 mm then use value of d.2_input for d.2; for example if you enter the value for d.2_input = 200 mm then d.2 = 200 mm.

 

If you still don't get it, just share you family here.

Nachricht 10 von 19
Ar_vxv
als Antwort auf: ToanDN

Thanks for help

Nachricht 11 von 19
barthbradley
als Antwort auf: Ar_vxv

HEY THERE.png

Nachricht 12 von 19
Ar_vxv
als Antwort auf: barthbradley

-Why can't that value already be computed and ready to use?:
Currently, it depends on Sweep's position in the project. I will Duplicate the profile section and change the H.1 value to match. Now I want to add a function when H.1 <=110 then H.1 takes the value of H.2.
-Your image: :grinsendes_Gesicht_mit_lächelnden_Augen:

Nachricht 13 von 19
ToanDN
als Antwort auf: Ar_vxv

Revit 2022 family is attached.  I don't have Revit 2020.

 

ToanDN_0-1664526026355.png

 

 

 

Nachricht 14 von 19
Ar_vxv
als Antwort auf: Ar_vxv

From that Formula i can understand. Many thanks!

Nachricht 15 von 19
barthbradley
als Antwort auf: Ar_vxv


@Ar_vxv wrote:

From that Formula i can understand. Many thanks!


 

HUH??? That helped?  That's exactly what I've been trying to tell you all along!  

 

  

Nachricht 16 von 19
mhiserZFHXS
als Antwort auf: barthbradley

No its not. You had the if false result as a set value, not another parameter.

Nachricht 17 von 19
barthbradley
als Antwort auf: mhiserZFHXS


@mhiserZFHXS wrote:

No its not. You had the if false result as a set value, not another parameter.




No, that not what I was saying. Read Message #7 again.  I asked: "Why can't that value already be computed and ready to use?"  Where do ready-to-use, computed values come from? Other Parameters - that's where.    

 

Whatever.  Obviously, we had a failure to communicate.   

Nachricht 18 von 19
Ar_vxv
als Antwort auf: Ar_vxv

@barthbradley 
It's true! I should have seen such a basic thing. Pardon my ignorance.

Nachricht 19 von 19
barthbradley
als Antwort auf: Ar_vxv


@Ar_vxv wrote:

@barthbradley 
It's true! I should have seen such a basic thing. Pardon my ignorance.


 

There's nothing to pardon. We just had a failure to communicate. I'm glad you reached an "Aha" moment. :zwinkerndes_Gesicht: 

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