Export Text Points to CSV (PXYZ)
eplisp, the free multilingual LISP library
| Openly licensed; the original file is hosted here together with its license. | |
… Rate this tool: | |
| Commands | PXYZ |
|---|---|
| Category | Data Export (Excel, CSV) |
| Author | BGol Community |
| Source | thevijayparmar/bgol-cad-lisps |
| License | MIT |
| Requirements | AutoCAD (full version; not LT), BricsCAD, ZWCAD. Uses Visual LISP ActiveX (vla/vlax) functions. |
| Prompt language | English |
| Files | PTXPORT-bgol.lsp (4 KB) |
| Added | 2026-10-26 |
| Download the original fileSource repository | |
Exports the X, Y, Z insertion coordinates and the content of selected TEXT objects to a CSV file, for example to list spot levels written as text.
PXYZ writes point data from a drawing to a spreadsheet-friendly file. Each selected TEXT object becomes one row with its insertion point and its text, which suits survey drawings where spot levels or point codes are written as text.
Overview
After the selection a save dialog asks for the CSV file name. The file starts with the header Easting,Northing,Elevation,Value, and coordinates are written with four decimals. As a visual check the routine also places a POINT object at every exported text, on the layer BGOL-PXYZ (created in blue if missing).
How to use it
- Load PTXPORT-bgol.lsp with APPLOAD.
- Type PXYZ and press Enter.
- Select the TEXT objects to export and press Enter.
- Choose the folder and name of the CSV file in the save dialog.
- Open the CSV in Excel or another program; the drawing now shows a point at each exported text.
Notes and limitations
- Writes a CSV file to the path you choose; an existing file with the same name is overwritten.
- Adds POINT objects on the layer BGOL-PXYZ and creates that layer if needed; erase them if you do not want them.
- Only single-line TEXT is accepted, not MTEXT.
- Text content is written as is: values containing commas are not quoted and will split into extra columns.
- Coordinates are the text insertion points in the world coordinate system, not the position of any nearby point object.
- The repository was published in 2026; test on a copy of the drawing first.
Source and license
This tool is not made by eplisp. The file is published unchanged under its author's license; copyright stays with the author.
- PTXPORT-bgol.lsp (4 KB)
- License text
References
- Source repository: thevijayparmar/bgol-cad-lisps – https://github.com/thevijayparmar/bgol-cad-lisps/tree/3acbe32f71b489f4c81dcd9372f989591a9be858/Text%20Lisps/Export%20Point%20Data
- Author: BGol Community – https://bgol.in/
- License: MIT – https://github.com/thevijayparmar/bgol-cad-lisps/blob/3acbe32f71b489f4c81dcd9372f989591a9be858/LICENSE
Found a mistake, or are you the author of this tool? Request a correction or removal