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
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
NX 6.0.5.3
Windows XP32
RE: Expression Help Please
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
God bless you.