×
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 Value from Table Possibility

Expression Value from Table Possibility

Expression Value from Table Possibility

(OP)
Hi John,

I'm creating a envelope based on SAEJ287. Both the J-Spec and my file require two inputs. Based on those inputs, one of the outputs is a "G" value. The J-Spec directs you to a particular xyz table based on the "G" value to locate approx 100 points. Without linking to an excel file somehow, I am about to do the following for each point...

Expression PT1_X = IF(G<-1.25)(850)Else If(-0.5<G<-1.24)(825)Else If ... I think there are 5 or 6 tables

Y and Z are always constant so I only have to do this for the hundred X values but it's still a lot of work. Plus, I did something similar for a "standard bolt shaft to hex head" relationship and it seems take a long time to open this file even though it's very small. Is there a better way to do this?

Scott

RE: Expression Value from Table Possibility

(OP)
Or... what if I create every possible envelope and somehow NX puts the appropriate one in a reference set, or hides everything but the appropriate group, or moves it to a layer. That seems impossible to me but I like the challenge.

RE: Expression Value from Table Possibility

What version of NX are you running? If it's NX 8.0 or newer, I would look at the new 'List' expression type along with the 'nth' expression function. Using these functions you can do what you're looking for without having to resort to elaborate cascading 'IF' statements.

John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
Siemens PLM:
UG/NX Museum:

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

RE: Expression Value from Table Possibility

(OP)
Today it wax NX7.5 but I've got 8.0 also. Thanks! I'll check that out.

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