Plot Numbering Along a Guide Line (PLOTNUM)
eplisp, the free multilingual LISP library
| Openly licensed; the original file is hosted here together with its license. | |
… Rate this tool: | |
| Commands | PLOTNUM |
|---|---|
| Category | Text Tools |
| Author | Vijay (vjspab) |
| Source | vjspab/autocad-lisp-toolkit |
| License | MIT |
| Requirements | AutoCAD (full version, not LT). Uses ActiveX (vla/vlax), so it should also run in Visual LISP-compatible programs such as BricsCAD. |
| Prompt language | English |
| Files | PlotNumbering.lsp (4 KB) |
| Added | 2026-10-26 |
| Download the original fileSource repository | |
Numbers closed plot or room polygons with prefixed labels such as L01, L02 in the order a hand-drawn open guide polyline passes through them.
PLOTNUM is a numbering command from Vijay's (vjspab) AutoCAD LISP toolkit. On plot subdivision and parcel layouts the numbers often have to follow a particular route; this command lets you define that route with a guide line drawn through the plots.
Overview
You enter a prefix, a starting number and a text height, then select the closed polygons together with one open guide polyline. The bounding-box center of each polygon is projected onto the guide line and the polygons are sorted by distance from its start.
A middle-center TEXT is placed in the center of each polygon. Numbers below 10 get a leading zero (L01, L02 … L10, L11).
How to use it
- Load PlotNumbering.lsp with APPLOAD.
- Draw an open polyline that passes through the plots in the order you want.
- Type PLOTNUM at the command line.
- Enter the prefix (e.g. L), the starting number and the text height.
- Select all closed polygons and the guide polyline together.
Notes and limitations
- Only polylines can be selected. Polygons without the closed flag (first and last vertex merely coincide) count as open and may be taken as the guide line.
- If more than one open polyline is selected, only the last one is used as the guide.
- The prefix cannot contain spaces; zero padding is only to two digits.
- Because the number goes to the bounding-box center, it can fall outside L-shaped plots.
- Labels are added on the current layer.
- The repository is new (2026); test the routine 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
- Source repository: vjspab/autocad-lisp-toolkit – https://github.com/vjspab/autocad-lisp-toolkit/tree/c244555256b43e9ad1e6b1f39a655aaf398ed129
- Author: Vijay (vjspab) – https://github.com/vjspab
- 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