×
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

Feature by expression

Feature by expression

Feature by expression

(OP)
Hi All!

I am currently doing a few parts and wanting to control them all by a single expression, so far i am managing but i have come across a problem i cant solve.

I have part that when over 60mm it has four holes that are threaded 25mm, when under 60mm it the threaded holes just go straight through. This means that depending on the size there is either 2 or 4 holes, is there an expression anything like this

If ( 'part' >= 60 )
Then ( 25 )
Else if (p4 < 60 )
Then (DO NOT DO IT!)

I assumed the word 'false' would work but thats a 'syntax error'

Any help appreciated,

Thanks

RE: Feature by expression

Have you looked at Feature Suppress By Expression ?
It will do just what you need.
After you check it out then come back here and ask more questions if you have them.

RE: Feature by expression

(OP)
Thanks jerry1432 but not sure how to use that, what expressions do i use? it basically needs to say under 60 then supress the feature, over 60 then allow the feature to be active, but what are the correct words to use?

RE: Feature by expression

(OP)
Scrap that, last comment, was me just being daft, using greater than rather than less than and wondering why it didnt work! that has worked brilliantly!

Thanks very much jerry1432

RE: Feature by expression

I am not at work right now so I will just make a short comment
Suppress by expression creates an expression where it is either 1 or 0. 1 can turn the feature on and 0 can turn it off, or it can be the other way around.
Suppress by expression will create an expression, usually last in your expression list, that will be either a 1 or 9 . . . more later

RE: Feature by expression

wait a minute . . . I misread above.
I will try to make a sample part similar to what you described above.
It really isn't too bad.

RE: Feature by expression

is 60mm the thickess of the part ?
is 25mm the depth of the tap ?

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