Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

access element of Point(x,y,z) Expression?

Status
Not open for further replies.

potrero

Mechanical
Aug 30, 2007
516
NX8.0.1

For a while now it's been possible to generate a point from a simple expression in the form:

myPoint = Point(x,y,z)

Can anyone help me figure out how to define a new variable corresponding to just the "x" or "y" or "z" of the "myPoint" variable? pseudocode might look like:

myZ = third(myPoint)

Of course, this won't work because myPoint is a "Point" expression, not a "List". So I think I'm really close to a solution, but I'm not quite there yet. Anybody have some tips for this?

Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor