×
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

Yes/No Relation for suppressed features

Yes/No Relation for suppressed features

Yes/No Relation for suppressed features

(OP)
Is there a way to report whether a feature is suppressed in a relation?

I am trying to create a start-part tube with some initially suppressed miter cuts.  If the designer wants to use them, they can be unsuppressed.  I'm trying to report them automatically to my cut list.

The logic would look something like:

If
  (Cut_A is suppressed)
  Cut_A_Angle = 0
else
  Cut_A_Angle = d17
endif

Where d17 is the angle in the extrude cut.  This is of course simplified from what I'm trying to do exactly, but...  Can I test whether something is suppressed or not?  What does that look like?

Thanks!
John

RE: Yes/No Relation for suppressed features

John,

Would it be possible to also set a dummy variable at the same time?

For instance:

If
  (Cut_A is suppressed)
  Cut_A_Angle = 0
  am_i_suppresed_flag = 1
else
  Cut_A_Angle = d17
  am_i_suppresed_flag = 0
endif

Just a thought.  It has been a while since I have done programming in proE using relations.

Steve

Stephen Seymour, PE
Seymour Engineering & Consulting Group
www.seymourecg.com  

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