Bearings and Distances Table (BDTBL, BD)
eplisp, the free multilingual LISP library
| Openly licensed; the original file is hosted here together with its license. | |
… Rate this tool: | |
| Commands | BDTBLBD |
|---|---|
| Category | Measuring and Totals |
| Author | Michael Flynn |
| Source | mf4633/C3D-AutoCAD |
| License | MIT |
| Requirements | AutoCAD or Civil 3D (full version; BDTBL uses ActiveX and the TABLE object), BricsCAD |
| Prompt language | English |
| Files | bdtbl.lsp (4 KB), bd.lsp (2 KB), _utils.lsp (5 KB) |
| Added | 2026-10-26 |
| Download the original fileSource repository | |
BDTBL lists each segment of a polyline with its surveyor bearing (N 12°34'56" E) and length in a real AutoCAD table; BD labels a single line.
These two commands show segment directions and lengths as surveyor bearings on parcel and boundary drawings. They suit drafters preparing US-style metes-and-bounds plans or any project that asks for bearing tables.
Overview
BDTBL asks for a polyline and a table insertion point. It walks the polyline vertex to vertex and computes, for each segment, a name (L1, L2...), the bearing in the form "N 12°34'56" E" and the length, then writes them into a TABLE object with LINE, BEARING and DISTANCE columns. On closed polylines the closing segment is included. Arc segments are listed with their chord bearing and arc length.
BD asks for a single LINE and adds a two-line MTEXT at its midpoint: the bearing on top and the length below. The label is rotated along the line and flipped by 180° when needed so it never reads upside down. Both commands take the text height from the TEXTSIZE variable (1.5 times that in the table).
How to use it
- Load _utils.lsp first, then bdtbl.lsp and bd.lsp, with APPLOAD.
- For a table, type BDTBL and select the polyline.
- Pick the table insertion point.
- To label a single line, type BD and pick the LINE.
Notes and limitations
- Both commands need the helper functions in _utils.lsp and will not run without it.
- Lengths get a foot mark (') appended, which is wrong on metric drawings.
- BDTBL adds the table to paper space if you are in paper space, otherwise to model space. BD writes its label on the current layer.
- For arc segments the table shows the chord bearing; for survey records you may need to explode arcs to lines first.
- 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.
- bdtbl.lsp (4 KB)
- bd.lsp (2 KB)
- _utils.lsp (5 KB)
- License text
References
- Source repository: mf4633/C3D-AutoCAD – https://github.com/mf4633/C3D-AutoCAD
- Author: Michael Flynn – https://github.com/mf4633
- License: MIT – https://github.com/mf4633/C3D-AutoCAD/blob/eeeda7b7b3ffe98917d4b2b3d329d6b84a966035/LICENSE
Found a mistake, or are you the author of this tool? Request a correction or removal