Exporting coordinates to a database
Exporting coordinates to a database
(OP)
Hi all, I'm wondering if anyone knows of a way to export x,y,z coordinates of blocks into a database automatically. Basically, we have a few hundred blocks of the same type in a drawing, and would like to devise a way to automatically export the coordinates of every block of a certain type to a database. A lisp program perhaps? We have AutoCAD Map v4.5, (AutoCAD 2000i), which seems to have a lot of options for connectivity with MS Acess database, just unaware of how to utilize these tools, and the book isn't too much help. Any suggestions or advice would be greatly appreciated. Thanks!





RE: Exporting coordinates to a database
"Whether you think that you can, or that you can't, you are usually right "
.. Henry Ford
RE: Exporting coordinates to a database
RE: Exporting coordinates to a database
You can extract blocknames, coordinates and other attributes using ATTEXT to a text file in comma delimeted format *.cdf or space delimited format *.cdf which you can convert to spreasheet or database format. You have to prepare a template which will include BL: X , BL: Y and Bl: Z to have your coordinates.
Browse internet for key words: <autocad+attext> for further explanation.
cheers,
209larry
RE: Exporting coordinates to a database
Cory
RE: Exporting coordinates to a database
I've used CADminer before and I'm pretty sure the program can extract your coordinates automatically. If you have CADminer installed, you should scroll and check out the field variables that it can extract - over 100 (X,Y,Z Coordinates included). It's really a neat program. Hope that helps.