Display full version of the post: XYZ-list from points?

Anders79
27.12.2011, 12:10




Helluu!Is it realy so that there's no easy command in autoCAD/autoCAD tl to make a simple xyz-coordinate txt-file fom a couple of points in a dwg-drawing? Now i use the list-command and copy-paste what I need, but when it comes to more than 10 points this way is so frustrating... /Anders 

Anders792011-12-27 14:54:51

John Connor
27.12.2011, 12:59

You want to export the x/y/z coordinates of multiple points from AutoCAD right?  Three options:CadStudio's Xls2Curve (found here at the CADforum).Point manager (found at Lee Mac Programming).Export Point Coordinates (by Tony Hotchkiss, found at the Catalyst magazine web site > Cad Tips).John Connor2011-12-27 13:19:51

Anders79
27.12.2011, 13:53



Thanx, but those are LISP-based solutions? Since I'm working with AutoCAD LT lisp doesn't work.
Anders792011-12-27 14:55:12

John Connor
27.12.2011, 14:02


Boulderdash!  Man, I wish those two little letters (lt) were about a meter tall.Yes, you're correct.  Lisp is not an option.Don't you know anyone using full AutoCAD that could extract the coordinates for you?ATTEXT won't work?



John Connor2011-12-27 14:08:47

Anders79
27.12.2011, 14:24



as I recall ATTEXT only works with blocks, and not just points. (I never managed to make ATTEXT work with blocks either, but still..)
Anders792011-12-27 14:55:25

heinsite
28.12.2011, 01:14
Someone help me with this idea here, but wouldn't it be possible to run a startup script (.lsp file) that performs the intended task on a specified target file? 
 
Even though LT can't run LISP routines from within the program couldn't this mouse be trapped this way?
 
Dave

heinsite
28.12.2011, 01:21
From the Help file:
 

To run a script at startup


Click Start menu (Windows) Run.
In the Run dialog box, enter acad drawing_name /b script_name.
To start a new file, instead of a drawing file name, enter the /t switch and the name of a template file: /t template_drawing.
To open a drawing file to a particular view, follow the drawing name with the /v switch and the name of the view: /v view_name.
The name of the script file must be the last parameter listed. The file extensions are optional.
Click OK.
AutoCAD opens the drawing and executes the commands in the script file. When the script has been completed, the command prompt is displayed.

Seems workable to me.  Find the script that's purported to extract the data needed and plug it and the target filename into the procedure above.  Let us know where the smoke originates. 
Dave