AnsweredAssumed Answered

if statements inside of an equation

Question asked by Joe Marchbanks on Dec 4, 2015
Latest reply on Dec 7, 2015 by Kevin Chandler

Hello I've been trying to use the following if statement below to locate a intermediate post member for some stair handrails and it looks correct in the equation =33in, but it comes with a syntax error, but then it shows in the sketch as 40.333 not 33in. below is a jpeg and also the if statement being used. The syntax error happens when I try to put the second if statement into the equation. I must have something out of place here, but I just don't see it. Any suggestions would be greatly appreciated.

 

= if ( "HR-L@Sketch1" < 120 , "HR-L@Sketch1" / 2 , if ( "HR-L@Sketch1" > 240 , "HR-L@Sketch1" / 4 , "HR-L@Sketch1" / 3 ) )

IF STATMENTS.jpg

Outcomes