eplisp

Export Polyline Coordinates (PCSV)

eplisp, the free multilingual LISP library

Export Polyline Coordinates (PCSV)
Openly licensed; the original file is hosted here together with its license.
…
Rate this tool:
CommandsPCSV
CategoryData Export (Excel, CSV)
AuthorBGol Community
Sourcethevijayparmar/bgol-cad-lisps
LicenseMIT
RequirementsAutoCAD (full version; uses ActiveX, so not AutoCAD LT), BricsCAD
Prompt languageEnglish
FilesPLCSVOUT-bgol.lsp (3 KB)
Added2026-10-26
Download the original fileSource repository

PCSV writes every vertex of a selected polyline to a CSV file with point number, Easting, Northing and elevation columns, ready for Excel.

PCSV is a small utility that exports the vertex coordinates of a single LWPOLYLINE to a CSV file that opens in Excel or survey software. It is aimed at surveyors and drafters who would otherwise type out coordinate lists for parcel boundaries, setting-out points or alignment vertices by hand.

Overview

The command asks for the polyline and then for a file name in the standard save dialog. The file starts with the header PointNo, Easting, Northing, Elevation and has one row per vertex. X and Y are written with 4 decimals; the elevation column holds the polyline's constant elevation.

How to use it

  1. Load PLCSVOUT-bgol.lsp with APPLOAD.
  2. Type PCSV at the command line.
  3. Select the polyline whose vertices you want to export.
  4. Choose the name and location of the CSV file in the save dialog.

Notes and limitations

  • Writes a CSV file to the location you choose; an existing file with the same name is overwritten.
  • Only LWPOLYLINE objects are accepted; 3D polylines, old-style POLYLINEs and splines are not supported.
  • Arc (bulge) data is not exported, only the vertex points; coordinates are in WCS.
  • The repository is new (2026); try it 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.

References

  1. Source repository: thevijayparmar/bgol-cad-lisps – https://github.com/thevijayparmar/bgol-cad-lisps
  2. Author: BGol Community – https://bgol.in/
  3. 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