Coordinate and Bearing Table
eplisp, the free multilingual LISP library
| Openly licensed; the original file is hosted here together with its license. | |
… Rate this tool: | |
| Commands | MCTABLE |
|---|---|
| Category | Measuring and Totals |
| Author | Ronny García Guzmán |
| Source | RonGrasz/Mensor-CAD |
| License | MIT |
| Requirements | AutoCAD for Windows (full version, not LT); uses a DCL dialog and TABLE objects. Not tested in BricsCAD. |
| Prompt language | Spanish |
| Files | MC-TABLE.lsp (36 KB) |
| Added | 2026-10-26 |
| Download the original fileSource repository | |
MCTABLE builds a vertex coordinate table and a bearing and distance table from a closed polyline, and marks each vertex with a circle and a number label.
MCTABLE, from Ronny García Guzmán's Mensor-CAD package, prepares survey tables for lot and land boundaries. It draws the corner coordinates of a closed boundary and the bearings and lengths of its sides as two separate AutoCAD tables, which suits survey drafters preparing title, cadastral or stake-out sheets. Prompts and table headings are in Spanish.
Overview
After you select a closed LWPOLYLINE, a dialog opens where you set the direction (clockwise or counter-clockwise), the coordinate order (East-North or North-East), the number of decimals, the vertex prefix (default E), the circle radius, the text style and the starting vertex. The routine removes duplicate vertices, numbers the corners in the chosen direction from the chosen start, and adds a circle and a label such as 'E-1' at each corner, placed so that it stays outside the boundary.
You then pick two insertion points. The first receives the East/North coordinate table; the second receives a table with a bearing such as 'N 05° 09' 02" E' and a distance for each side. Circles and labels go on layer MCTABLE-LABELS (green).
How to use it
- Load MC-TABLE.lsp with APPLOAD.
- Type MCTABLE at the command line.
- Select the closed LWPOLYLINE.
- In the dialog set the direction, coordinate order, decimals, prefix, radius and text style; use 'Seleccionar...' and click near the starting vertex if needed.
- Confirm with OK and pick the insertion point for the coordinate table.
- Pick the insertion point for the bearing and distance table.
Notes and limitations
- Only an LWPOLYLINE flagged as closed is accepted. With arc segments only the vertices are used, so distances are chord lengths, not arc lengths.
- Bearings assume the drawing's Y axis is north; interpret the results accordingly if north is defined differently.
- Tables are always added to model space on the current layer, and their sizes come from the TEXTSIZE variable. Headings are in Spanish ('COORDENADAS GEORREFERENCIADAS', 'RUMBO', 'DISTANCIA (m)').
- Layer MCTABLE-LABELS is created if missing, or its colour is reset to green (3) if it exists. Labels that cannot be fitted outside the boundary are skipped with a warning.
- It writes a temporary DCL file while running and deletes it afterwards; OSMODE and CMDECHO are changed temporarily and restored.
- License: the repository's LICENSE file is MIT.
- The repository was published in 2026 and the amount of testing is not stated; 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.
- MC-TABLE.lsp (36 KB)
- License text
References
- Source repository: RonGrasz/Mensor-CAD – https://github.com/RonGrasz/Mensor-CAD/tree/fabff7af2fdbe361b6e707b918913b992f0ee21b/lisp
- Author: Ronny García Guzmán – https://github.com/RonGrasz
- License: MIT – https://github.com/RonGrasz/Mensor-CAD/blob/fabff7af2fdbe361b6e707b918913b992f0ee21b/LICENSE
Found a mistake, or are you the author of this tool? Request a correction or removal