eplisp

Export Plot Data (EXPORTPLOTDATA)

eplisp, the free multilingual LISP library

Export Plot Data (EXPORTPLOTDATA)
Openly licensed; the original file is hosted here together with its license.
…
Rate this tool:
CommandsEXPORTPLOTDATA
CategoryData Export (Excel, CSV)
AuthorVijay (vjspab)
Sourcevjspab/autocad-lisp-toolkit
LicenseMIT
RequirementsAutoCAD (full version; uses ActiveX, so not AutoCAD LT), BricsCAD
Prompt languageEnglish
FilesExportPlotData_CORRECTED.lsp (4 KB)
Added2026-10-26
Download the original fileSource repository

EXPORTPLOTDATA matches parcel polylines with the number text inside each one and writes plot number, area and center X/Y to a CSV file.

This tool is for users preparing parcel lists from subdivision or zoning plans. It automates reading each plot's number, area and location and transferring them to a table.

Overview

The command first asks for the CSV file name, then for the plot polylines and number texts together. The bounding-box center of each text is taken and a ray-casting test finds which plot it falls in. For each plot the file gets Plot Number, Area (3 decimals) and the X, Y of the plot's bounding-box center. Plots without a text inside are listed as UNNAMED_PLOT, and rows are sorted by plot number.

How to use it

  1. Load ExportPlotData_CORRECTED.lsp with APPLOAD.
  2. Type EXPORTPLOTDATA at the command line.
  3. Choose the name and location of the CSV file in the dialog.
  4. Select the plot polylines together with their number texts and press Enter.

Notes and limitations

  • Writes a CSV file to the location you choose; an existing file with that name is overwritten.
  • Vertices are read from LWPOLYLINE data; on old-style (heavy) 2D POLYLINEs text matching fails and the plot becomes UNNAMED_PLOT.
  • Sorting is plain string order, so L10 comes before L2.
  • If a plot contains more than one text the last one wins; MTEXT formatting codes and commas in the text can break the CSV.
  • Area is in square drawing units; no unit conversion is done.
  • 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: vjspab/autocad-lisp-toolkit – https://github.com/vjspab/autocad-lisp-toolkit
  2. Author: Vijay (vjspab) – https://github.com/vjspab
  3. License: MIT – https://github.com/vjspab/autocad-lisp-toolkit/blob/c244555256b43e9ad1e6b1f39a655aaf398ed129/LICENSE

Found a mistake, or are you the author of this tool? Request a correction or removal