DXC LISP: Coded Point Text to CSV Point List (Free AutoLISP Download)
DXC scans a drawing for point-code text on a chosen layer (default Code) and rebuilds a clean CSV point list, serial number, Easting, Northing, Elevation, Remark, straight from each text entity's insertion point and string value. Handy when the original instrument-native CSV export is missing but a coded DXF/drawing of the same points survives.
DXF2CSV-bgol (Coded Point Text to CSV Point List)
Command Type: AutoLISP routine (works in AutoCAD, BricsCAD, ZWCAD and most AutoLISP-compatible CAD platforms)
Developed by: BGol Community, bgol.in
Inspired by the general concept of reconstructing survey point lists from coded DXF text used in total-station drafting workflows. This is an original, independently written routine, new file name, new command name, new source code, created so the CAD community has a free, editable, open-source alternative.
Overview
DXC scans a drawing for point-code text on a chosen layer (default Code) and rebuilds a clean CSV point list, serial number, Easting, Northing, Elevation, Remark, straight from each text entity's insertion point and string value. Handy when the original instrument-native CSV export is missing but a coded DXF/drawing of the same points survives.
How to Use
- Load
DXF2CSV-bgol.lspinto your CAD session (drag-and-drop the file onto the drawing window, or use theAPPLOADcommand). - Type
DXCat the command line and press Enter. - Enter the name of the layer holding the coded point text, or press Enter to use the default
Codelayer. - Choose where to save the output CSV in the file dialog.
- Every matching TEXT/MTEXT entity is read and written to the CSV with an incrementing serial number, and a small marker circle is drawn on layer
BGOL-DXCat each exported point for a quick visual check.
Why Use It
- Recovery, rebuilds a structured point list from a drawing when the instrument's native CSV export was lost or never made.
- Standard layout, outputs the common Easting/Northing/Elevation/Remark column order expected by most survey and civil design software.
- No manual re-typing, avoids re-digitizing point data by hand from a plotted or coded drawing.
Where to Use It
- Recovering point data from a total-station DXF export when a direct CSV export isn't available.
- Converting any drawing where surveyed points were plotted with code/label text into a structured, reusable point list.
- Data migration between different total-station brands or survey software ecosystems.
Notes
- Assumes the standard survey CAD convention: drawing X = Easting, drawing Y = Northing, Z = Elevation.
- Only TEXT and MTEXT entities on the specified layer are processed; text without a readable insertion point or string value is skipped.
- Exported points are marked with a small circle on
BGOL-DXC(does not alter the source text entities). - Source code is fully open, feel free to study, modify, and redistribute it under the same open, free-for-all spirit.
Credits
Developed and shared for the CAD community by BGol Community. Website: https://bgol.in/ Free and open-source, use it, modify it, share it, for personal or commercial work alike.
Frequently Asked Questions
DXC is a standard AutoLISP routine, so it runs in AutoCAD, BricsCAD, ZWCAD, and most other AutoLISP-compatible CAD platforms without modification.
Assumes the standard survey CAD convention: drawing X = Easting, drawing Y = Northing, Z = Elevation.
Recovery, rebuilds a structured point list from a drawing when the instrument's native CSV export was lost or never made.
Yes. DXC is fully open-source and free to use, modify, and redistribute for both personal and commercial work, developed and shared by the BGol Community.
Drag and drop DXF2CSV-bgol.lsp onto your open drawing window, or load it through the APPLOAD command, then type DXC at the command line to run it.
🤝 About BGol Community
BGol Community of Advanced Surveying builds and shares free, open-source tools for the survey and CAD drafting community.
🙌 Made with ❤️ by BGol Community of Advanced Surveying
Free, open-source, and built for the CAD community, for personal or commercial use, always.