eplisp

Plot Numbering Along a Guide Line (PLOTNUM)

eplisp, the free multilingual LISP library

Plot Numbering Along a Guide Line (PLOTNUM)
Openly licensed; the original file is hosted here together with its license.
…
Rate this tool:
CommandsPLOTNUM
CategoryText Tools
AuthorVijay (vjspab)
Sourcevjspab/autocad-lisp-toolkit
LicenseMIT
RequirementsAutoCAD (full version, not LT). Uses ActiveX (vla/vlax), so it should also run in Visual LISP-compatible programs such as BricsCAD.
Prompt languageEnglish
FilesPlotNumbering.lsp (4 KB)
Added2026-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

  1. Load PlotNumbering.lsp with APPLOAD.
  2. Draw an open polyline that passes through the plots in the order you want.
  3. Type PLOTNUM at the command line.
  4. Enter the prefix (e.g. L), the starting number and the text height.
  5. 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

  1. Source repository: vjspab/autocad-lisp-toolkit – https://github.com/vjspab/autocad-lisp-toolkit/tree/c244555256b43e9ad1e6b1f39a655aaf398ed129
  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