Plot Dimensions and Area Label
eplisp, the free multilingual LISP library
| Openly licensed; the original file is hosted here together with its license. | |
… Rate this tool: | |
| Commands | PLOTDIM |
|---|---|
| Category | Dimensions |
| Author | Vijay (vjspab) |
| Source | vjspab/autocad-lisp-toolkit |
| License | MIT |
| Requirements | AutoCAD (full version, not LT), BricsCAD; uses the DIMALIGNED, EXPLODE and JOIN commands. |
| Prompt language | English |
| Files | PLOTDIM.lsp (3 KB) |
| Added | 2026-10-26 |
| Download the original fileSource repository | |
PLOTDIM puts aligned dimensions on all four sides of a rectangular plot and writes a readable 'Area: ... sq.m' label in the middle along the long side.
PLOTDIM, from vjspab's AutoCAD LISP toolkit, dimensions rectangular plots in subdivision and site plans. With one pick it adds all four side dimensions and an area label, which saves time for drafters who lay out many plots.
Overview
You select an LWPOLYLINE or a REGION. A region is first exploded and its pieces joined into one polyline with JOIN. The first four vertices of the polyline are used; on each side a DIMALIGNED dimension is placed outward from the shape's centre at a distance of DIMTXT x 1.5. The area is read through ActiveX, and a label such as 'Area: 123.45 sq.m' is created at the centre, rotated to the long side and kept upright.
How to use it
- Load PLOTDIM.lsp with APPLOAD.
- Type PLOTDIM at the command line.
- Select the polyline or region that represents the rectangular plot.
Notes and limitations
- A selected REGION is exploded and converted to a polyline; the original region is removed from the drawing.
- Only the first four vertices are dimensioned; the tool is meant for rectangles and other four-sided plots. Shapes with more vertices get incomplete and misplaced dimensions.
- The 'sq.m' suffix on the area label is fixed and no unit conversion is done; fix the text if your drawing unit is not metres.
- Dimensions use the current dimension style and layer, and the area text uses the current layer. Its height comes from DIMTXT and is not multiplied by DIMSCALE.
- OSMODE is turned off while the command runs; if it is interrupted, check your object snap settings.
- License: the repository's LICENSE file is MIT.
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.
- PLOTDIM.lsp (3 KB)
- License text
References
- Source repository: vjspab/autocad-lisp-toolkit – https://github.com/vjspab/autocad-lisp-toolkit
- 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