×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Programming Issues

Programming Issues

Programming Issues

(OP)
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?
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources