Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Expression Value from Table Possibility

Status
Not open for further replies.

Kenevil

Automotive
Apr 2, 2013
47
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
 
Replies continue below

Recommended for you

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.
 
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.
 
Today it wax NX7.5 but I've got 8.0 also. Thanks! I'll check that out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor