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.
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.