vishnushankar
New member
I need to suppress or resume a feature using this option but it does not run.
There are three parameters "LENGTH" , "WIDTH" (they are integers) and "RESULT" (is an yes/no).
The logic required is:
IF LENGTH>500 OR IF WIDTH>120
RESULT=YES
ELSE
RESULT=NO
END IF
The above doesn't work, Pro/E returns an error .
I have also tried the following:
IF LENGTH>500
IF WIDTH>120
RESULT=YES
ELSE
RESULT=NO
END IF
END IF
Even that doesn't work.
What I basically require is if either the "LENGTH" or "WIDTH" is
greater than a certain value then the "RESULT" parameter needs to be
true. As I will be subsequently using this to through an text which
tells that the design criterion is Failed.
Regards,
Vishnu
There are three parameters "LENGTH" , "WIDTH" (they are integers) and "RESULT" (is an yes/no).
The logic required is:
IF LENGTH>500 OR IF WIDTH>120
RESULT=YES
ELSE
RESULT=NO
END IF
The above doesn't work, Pro/E returns an error .
I have also tried the following:
IF LENGTH>500
IF WIDTH>120
RESULT=YES
ELSE
RESULT=NO
END IF
END IF
Even that doesn't work.
What I basically require is if either the "LENGTH" or "WIDTH" is
greater than a certain value then the "RESULT" parameter needs to be
true. As I will be subsequently using this to through an text which
tells that the design criterion is Failed.
Regards,
Vishnu