Development of AutoLISP-Based Tools for Area and Length Measurement in Civil Engineering Quantity Estimation
Keywords:
Area measurement, AutoCAD, AutoLISP, CAD automation, CSV export, Length measurement, Quantity estimation, Slab draftingAbstract
Quantity estimation in civil engineering relies on geometric measurements extracted from design drawings, including plan areas and linear dimensions. Repeated manual selection, calculation, and transcription can increase workload and create opportunities for error. This study documents three AutoCAD AutoLISP utilities: POLYAREA, TLEN, and SLABTOOLS/SLABDIM. POLYAREA accumulates areas of selected polylines; TLEN totals lengths for supported selected entities; and SLABTOOLS/SLABDIM assists with slab-boundary creation, internal dimensioning, slab identification, floor labelling, and CSV export. The study examines the supplied source code, AutoCAD screenshots, and a six-record slab CSV example. In the demonstrated POLYAREA case, the output dialog reports 17,000 square drawing units, matching the displayed component areas of 12,000 and 5,000. The demonstrated TLEN dialog reports 3,575.0421 drawing units; the sum of rounded dimensions visible in the screenshot is 3,575.05, a difference of 0.0079 drawing units. The six exported slab records total 57.90 m² and satisfy the rectangular area and perimeter identities at the precision shown. These observations establish arithmetic consistency for the supplied examples only; they do not establish a general accuracy rate or measured productivity improvement. The paper describes the workflow, unit assumptions, source-code limitations, and a repeatable validation approach for future testing.