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

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

Ar_vxv
Enthusiast Enthusiast
2,658 Views
18 Replies
Message 1 of 19

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

Ar_vxv
Enthusiast
Enthusiast

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

0 Likes
Accepted solutions (1)
2,659 Views
18 Replies
Replies (18)
Message 2 of 19

barthbradley
Consultant
Consultant

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

0 Likes
Message 3 of 19

Ar_vxv
Enthusiast
Enthusiast
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>.
0 Likes
Message 4 of 19

barthbradley
Consultant
Consultant

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.  

 

 

0 Likes
Message 5 of 19

Ar_vxv
Enthusiast
Enthusiast

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

0 Likes
Message 6 of 19

ToanDN
Consultant
Consultant

@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)

0 Likes
Message 7 of 19

barthbradley
Consultant
Consultant

@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?   

0 Likes
Message 8 of 19

Ar_vxv
Enthusiast
Enthusiast
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
0 Likes
Message 9 of 19

ToanDN
Consultant
Consultant

@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.

0 Likes
Message 10 of 19

Ar_vxv
Enthusiast
Enthusiast

Thanks for help

0 Likes
Message 11 of 19

barthbradley
Consultant
Consultant

HEY THERE.png

0 Likes
Message 12 of 19

Ar_vxv
Enthusiast
Enthusiast

-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: 😄

0 Likes
Message 13 of 19

ToanDN
Consultant
Consultant
Accepted solution

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

 

ToanDN_0-1664526026355.png

 

 

 

Message 14 of 19

Ar_vxv
Enthusiast
Enthusiast

From that Formula i can understand. Many thanks!

0 Likes
Message 15 of 19

barthbradley
Consultant
Consultant

@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!  

 

  

0 Likes
Message 16 of 19

mhiserZFHXS
Advisor
Advisor

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

0 Likes
Message 17 of 19

barthbradley
Consultant
Consultant

@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.   

0 Likes
Message 18 of 19

Ar_vxv
Enthusiast
Enthusiast

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

0 Likes
Message 19 of 19

barthbradley
Consultant
Consultant

@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. 😉 

0 Likes