Creating x,y,z Excel/.txt File from Point Set
Creating x,y,z Excel/.txt File from Point Set
(OP)
I created a point set of ~8000 points to describe a surface. I want to create a .txt or excel file from this point set with the x,y,z locations of all the points. I've tried using "NX Open Grip" to compile a .grs/.grx file that I found on another thread post, however I dont have the license to create a .grx file. Can someone provide me with .grs and .grx files? I'm able to execute GRIP files fine, but don't have the license to create my own. Thanks





RE: Creating x,y,z Excel/.txt File from Point Set
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
UG/NX Museum: http://www.plmworld.org/p/cm/ld/fid=209
To an Engineer, the glass is twice as big as it needs to be.
RE: Creating x,y,z Excel/.txt File from Point Set
CODE
$$ PROGRAM: PTS_TO_TABLE.GRS $$ $$ KEYWORDS: $$ $$ ABSTRACT: $$ DISPLAYS A CHART SHOWING THE X,Y,AND Z $$ COORDINATES OF X AMOUNT OF GENERIC POINTS. $$ $$ RELEASE HISTORY: $$ 01-FEB-91 Modified slightly by: $$ Ken Lambrecht $$ CAD Potential, Inc. $$ 2820 Wilderness Place, Suite D $$ Boulder, CO 80301-5454 $$ (303) 938-1224 $$ $$ Required Subroutines: (None) $$ $$ REQUIRED DATA/PART FILES: (NONE) $$ $$ AUTHOR: M A SICKING $$ COMPANY: McDonnell Douglas $$ $$ SYSTEM TYPE: VAXstation 3100 $$ $$ THEORY/VARIABLE USAGE: $$ ENTITY/$ pt NUMBER/$ x(100),y(100),z(100) $$ MASK/2 count = 1 L1: IFTHEN/count > 10 MESSG/'Max. of 100 points','reached.' JUMP/L3: ENDIF GPOS/'PICK POINT '+ISTR(count)+' - TERM WHEN DONE',$ x(count),y(count),z(count),r JUMP/L2:,L3:,L3:,,,r count = count + 1 JUMP/L1: L2: count = MAXF(1,count-1) JUMP/L1: L3: PRINT/' ID X Y Z' PRINT/' ' DO/L4:,loop_count,1,count-1 PRINT/USING,'#@@ #@@@@.@@@@#@@@@.@@@@#@@@@.@@@@',loop_count,$ x(loop_count),y(loop_count),z(loop_count) L4: HALTThis is what I found yesterday while browsing through the forums, NX libraries, and online NX GRIP help. It looks like it should do what I want it to do. I assume if I replace 100 with 8000, it will run through all 8000 points instead of just 100 points? Thanks
RE: Creating x,y,z Excel/.txt File from Point Set
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
UG/NX Museum: http://www.plmworld.org/p/cm/ld/fid=209
To an Engineer, the glass is twice as big as it needs to be.
RE: Creating x,y,z Excel/.txt File from Point Set
What I'm trying to do is this: I have a surface on which I've created a point set with approx. 8000 points. I want to be able to output this point set into an excel or .txt document in order to do verification of the surface. Is there another way to do this? It seems like NX should have this feature built into the software. Maybe I'm just not finding it? I'm running NX 7.5.
RE: Creating x,y,z Excel/.txt File from Point Set
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
UG/NX Museum: http://www.plmworld.org/p/cm/ld/fid=209
To an Engineer, the glass is twice as big as it needs to be.
RE: Creating x,y,z Excel/.txt File from Point Set
RE: Creating x,y,z Excel/.txt File from Point Set
Try this. I hacked it to use ident instead gpos to be able to select by rectangle or select all.
RE: Creating x,y,z Excel/.txt File from Point Set
Is it true that NX 8 has a built in feature to export a point set to a .txt or .xls file?
RE: Creating x,y,z Excel/.txt File from Point Set
According to the Grip reference online documentation 9 is the maximum supported.
RE: Creating x,y,z Excel/.txt File from Point Set
Now as for NX 8.0 having some new built-in mechanism for exporting the X,Y,Z values of a set of points to a .txt or .xls file, I'm not aware of what that would be. Granted, there is a new option in the Patterning Feature that IF you created a 'Pattern Feature' consisting of Points, that I could extract an .xls file of THOSE locations, but ONLY if the Pattern Feature function was used to create the set of points in the first place. That is, if the points already exist, either individually or as part of s 'Point Set' feature, there is NO way to load THOSE locations into this function.
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
UG/NX Museum: http://www.plmworld.org/p/cm/ld/fid=209
To an Engineer, the glass is twice as big as it needs to be.
RE: Creating x,y,z Excel/.txt File from Point Set
RE: Creating x,y,z Excel/.txt File from Point Set
After downloading the file, edit the file extension from .zipper to .zip before attempting to extract the files.
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
UG/NX Museum: http://www.plmworld.org/p/cm/ld/fid=209
To an Engineer, the glass is twice as big as it needs to be.
RE: Creating x,y,z Excel/.txt File from Point Set
RE: Creating x,y,z Excel/.txt File from Point Set
When I tried to run your GRIP file, I came across a few errors. The first two popped up after executing the file, but before I selected any points. The last two errors came after selecting the points and clicking "ok". The first three errors went away after I clicked "CONTINUE" but the last error wouldn't disappear after clicking "CONTINUE", which forced me to terminate the GRIP. Please help, thanks.
RE: Creating x,y,z Excel/.txt File from Point Set
John R. Baker, P.E.
Product 'Evangelist'
Product Engineering Software
Siemens PLM Software Inc.
Industry Sector
Cypress, CA
http://www.siemens.com/plm
UG/NX Museum: http://www.plmworld.org/p/cm/ld/fid=209
To an Engineer, the glass is twice as big as it needs to be.
RE: Creating x,y,z Excel/.txt File from Point Set
Try this journal. It will output to the listing and you can save as from there.