AbbyLynnsMommy
Computer
- Mar 8, 2010
- 1
Hi I'm VERY new to programing in Pro/E. I am having a slight issue.
I want an error message (just text across my door), to show when different inputs are put into place. The issue that I am having is there are different inputs that can cause this message to appear. The following is what I have now.
IF TRAILER_TYPE_INPUT=="VF" & VF_THRESHOLD_INPUT=="F"\
& LIGHT_BAR_HEIGHT_INPUT==10
ELSE
IF TRAILER_TYPE_INPUT=="VF" & VF_THRESHOLD_INPUT=="S"\
& LIGHT_BAR_HEIGHT_INPUT==10
ADD FEATURE
INTERNAL FEATURE ID 1732
PARENTS = 1(#2) 3(#3) 5(#4)
TYPE = COSMETIC
NAME = ERROR_MESSAGE
SECTION NAME = S2D0002
FEATURE'S DIMENSIONS:
d6 = 8.0000
d8 = 120.0000
d9 = 43.0000
d10 = 54.0000
d11 = 8.0000
d13 = 23.0000
d14 = 54.0000
END ADD
END IF
END IF
The problem is when I enter my inputs the second IF statement works but the first one does not. What am I doing wrong?
I want an error message (just text across my door), to show when different inputs are put into place. The issue that I am having is there are different inputs that can cause this message to appear. The following is what I have now.
IF TRAILER_TYPE_INPUT=="VF" & VF_THRESHOLD_INPUT=="F"\
& LIGHT_BAR_HEIGHT_INPUT==10
ELSE
IF TRAILER_TYPE_INPUT=="VF" & VF_THRESHOLD_INPUT=="S"\
& LIGHT_BAR_HEIGHT_INPUT==10
ADD FEATURE
INTERNAL FEATURE ID 1732
PARENTS = 1(#2) 3(#3) 5(#4)
TYPE = COSMETIC
NAME = ERROR_MESSAGE
SECTION NAME = S2D0002
FEATURE'S DIMENSIONS:
d6 = 8.0000
d8 = 120.0000
d9 = 43.0000
d10 = 54.0000
d11 = 8.0000
d13 = 23.0000
d14 = 54.0000
END ADD
END IF
END IF
The problem is when I enter my inputs the second IF statement works but the first one does not. What am I doing wrong?