×
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

Expression Help Please

Expression Help Please

Expression Help Please

(OP)
I would like to create an expression based on the following:


I have an extrude, with 1 expression 'x'

If x =< 10, then the extrude shouldn't occur at all.
If x > 10, then the extrude should be (20)



Sidenote:
Using NX 7.5
 

RE: Expression Help Please

Take a look at making use of "Suppression By Expression"

NX 6.0.5.3
Windows XP32

RE: Expression Help Please

First create your Extrude feature, then go to...

Edit -> Feature -> Suppress by Expression...

...and select the Extrude feature and hit OK.  Now go to the Expressions dialog and you will see a new Expression which indicates that it's controlling the 'suppression' status of the extrude feature and its value should be '1'.

Now just edit that Expression using an IF statement Expression, something along the lines of...

<name of suppression expression>=IF(x=<10)(0)else(1)

Note that when the value of the 'supression expression' is equal to '1', the feature will be present (unsuppressed).  If the value is equal to '0', the feature will be suppressed.

John R. Baker, P.E.
Product 'Evangelist'
Product Design Solutions
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
http://www.plmworld.org/museum/

To an Engineer, the glass is twice as big as it needs to be.
 

RE: Expression Help Please

(OP)
Thanks, got it! :)


God bless you.

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