Conditional If Statements.....

Conditional If Statements.....

bvillarreal-datumsa
Participant Participant
630 Views
2 Replies
Message 1 of 3

Conditional If Statements.....

bvillarreal-datumsa
Participant
Participant

I want to be able to have the End user simply input the slope (1/4", 3/4", etc) into the "Slope" field then another parameter ("Slope Angle") will read this input value and return the correct listed angle of the slope into the dimension angle that is being used to manipulate the slope of my truss I am building......so far I was able to spit this out with no errors....

 

if(Slope = 0' 0 1/4", 91.19°, 90°)

 

and that's where I get dropped off at into the REVIT DESERT OF WHAT AM I DOING WRONG!!!

I tried this

if(Slope = 0' 0 1/4", 91.19°, 90°), if(Slope = 0' 0 3/4", 92.19°, 90°)

 

But it didn't work....tried to research it but I can not find similar problem.

 

Thanks in advance Revit Gurus of 2019!!!!!!!

 

0 Likes
Accepted solutions (1)
631 Views
2 Replies
Replies (2)
Message 2 of 3

onuresen50
Advocate
Advocate
Accepted solution

Hi, have you to tried to use nested if?

 

if(Slope = 0' 0 1/4", 91.19°, if(Slope = 0' 0 3/4", 92.19°, 90°)) 

Message 3 of 3

bvillarreal-datumsa
Participant
Participant

THANKS THAT HELPED!!!!!

0 Likes