eplisp

AutoLISP Civil Tools Community (CTCOORD, CTEXPORT, CTIMPORT, CTELEV, CTCHAINAGE, CTINTERP, CTPROFILE)

eplisp, the free multilingual LISP library

AutoLISP Civil Tools Community (CTCOORD, CTEXPORT, CTIMPORT, CTELEV, CTCHAINAGE, CTINTERP, CTPROFILE)
Openly licensed; the original file is hosted here together with its license.
…
Rate this tool:
CommandsCTCOORDCTEXPORTCTIMPORTCTELEVCTCHAINAGECTINTERPCTPROFILE
CategoryData Export (Excel, CSV)
AuthorTruong Hoa and contributors
Sourceankaibua-spec/autolisp-civil-tools
LicenseGPL-3.0-or-later
Version0.2.0
RequirementsAutoCAD or BricsCAD on Windows (full version; uses Visual LISP curve and ActiveX functions)
Prompt languageEnglish
Filesact-load.lsp (1 KB), act-core.lsp (5 KB), act-coord.lsp (1 KB), act-export.lsp (2 KB), act-import.lsp (2 KB), act-elev.lsp (2 KB), act-chainage.lsp (1 KB), act-interp.lsp (2 KB), act-profile.lsp (2 KB)
Added2026-10-26
Download the original fileSource repository

A seven-command survey kit for POINT objects: coordinate and elevation labels, CSV export and import, chainage and offset, and elevation interpolation.

This package is a set of linked modules for common tasks with POINT objects in survey and infrastructure drawings. All calculations use WCS coordinates, and the texts it creates are 2.5 units high and placed on each command's own layer (ACT-COORD, ACT-ELEV, ACT-CHAINAGE, ACT-IMPORT, ACT-PROFILE).

Overview

CTCOORD labels selected points with a number (P1, P2...) and their X/Y/Z. CTEXPORT writes the positions of POINT and TEXT objects to a CSV file with id, type, x, y, z, note columns; CTIMPORT creates points from a CSV with x, y, z headers. CTELEV writes an elevation you type for a point as "EL=..." and updates an existing label at the same spot.

CTCHAINAGE labels points with their chainage along a selected curve (polyline, line and so on) and their absolute offset from it. CTINTERP interpolates elevations linearly between the Z values of two control points, based on where each target point projects between them. CTPROFILE sorts points along a curve and writes chainage, elevation, X, Y and offset as comma-separated text rows forming a table.

How to use it

  1. Copy all the .lsp files into one folder that is on the AutoCAD support path.
  2. Load act-load.lsp with APPLOAD; it loads the other modules.
  3. For example, type CTEXPORT, select POINT/TEXT objects and choose the CSV file name.
  4. For chainage labels, type CTCHAINAGE, select the alignment curve first, then the points.

Notes and limitations

  • The author states the commands have not yet been tested in a real AutoCAD or BricsCAD runtime; be sure to try them on a copy of the drawing first.
  • act-load.lsp finds its own folder with findfile; if the folder is not on the support path, loading fails. In that case load act-core.lsp first and then the command files you need one by one.
  • CTEXPORT writes a CSV to the location you choose; CTIMPORT reads a CSV you choose and adds points on the layer ACT-IMPORT. Each command creates its own ACT-* layer.
  • CTELEV does not read the elevation from the point's Z value; you type it. Text height is fixed at 2.5; the CTPROFILE table is stacked text rows, not a real TABLE object.

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: ankaibua-spec/autolisp-civil-tools – https://github.com/ankaibua-spec/autolisp-civil-tools
  2. Author: Truong Hoa and contributors – https://github.com/ankaibua-spec
  3. License: GPL-3.0-or-later – https://github.com/ankaibua-spec/autolisp-civil-tools/blob/35498af60e7a267a41c14acbbcbefb07b1f21efa/LICENSE

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