Thanks Ben; it worked when I placed entire IF statement as 1 line, but ElSE(& nothing else) had to be on its own line with the condition/equality to follow on the next line....if this makes any sense.
Mark
I am having difficulty with the following IF scenario:
IF PTC_MATERIAL_NAME=(==?)STEEL (material steel & aluminum have been assigned in setup, as have the steel & alum spring rates as variable values)
SPRING_RATE=SPRING_RATE_STEEL
ELSE
SPRING_RATE=SPRING_RATE_ALUMINUM
ENDIF
I realized my...
Here is my not so hard example if statement
if holeloc1=8
errorLogical expression expected.
hole_dia=3
endif
All variables are predefined in my simple model. The function button in the relations interface fx list the syntax as if(). And as usual I'm getting the very explanatory error msg...
Thanks btw for these tips, but the dang help files in WF4 are nothing short of a pain. I'm an engineer & have been designing/modeling since the early 90's, but I've never encountered a program so difficult & non intuitive to use in all my career such as ProE & I'm certainly not the only one in...
The proper syntax is what I'm looking for: spaces, parenthesis & other delimeters for the IF since I'm simply doing a number comparison involving a nested equation. Why is Pro E so dang hard to accomplish mundane task? Excell is very explicit with such Boolean logical functions & SolidWorks...
This is the IF statement I'm getting errors on with spacing just as shown: IF L_LENGTH > 2 THD_LENGTH = 1.75 ELSE THD_LENGTH=L_LENGTH-1/THREAD_PITCH*2 ENDIF. What am I doing wrong?
Since ProE's help files are so da.n hard to navigate, I'm having to ask users here the exact format/syntax of the if function within the relations dialog. I know the logic & how it works in Excel and Solidworks, HP because provided examples are easy to follow along with nice literature. So...
Since ProE's help files are so hard to navigate, I'm having to ask users here the exact format/syntax of the if function within the relations dialog. I know how it works in Excel, Solidworks because provided examples are easy to follow. So please show me the if function at work if you would be...