[Search tip detail and code files using keywords, tip number, author name, etc ]
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Tip 2292: Area of Closed Polylines
Tip# 2292 By Ronald Maneja On 01-Jun-2008
Rated By 1 users Downloaded : 2959
Categories : Single-Line Text, Multiline Text, Object Properties, Object Data
Software type : AutoCAD
Rename File To : Tip 2292: AreaRon.lsp
AREARON.LSP: Automatically computes and adds an area annotation for closed polylines.

Tip 2292: Area of Closed Polylines
Area of Closed Polylines, sent in by Ronald Maneja, automatically computes and adds an area annotation for closed polylines. Load the LISP code and type AreaRon, supply a scaling factor, and then select polylines using the normal AutoCAD selection mechanism. Only closed polylines can be selected. The routine calculates the area of each object and displays the result as a text object at the averaged center point for the polyline. Area text is added to layer AreaRon for easy manipulation. This wonderful power tool is a well-programmed example of Visual LISP object access.



Average Rating:

User comments
Comment by Recalde,Carlos
Posted on 2008-08-05 10:57:43
Am using AutoCAD 2002 and this is the reason that the this routine doesn't work. It returns 0 (zero) for the area although the correct answer is calculated but the routine failed to provide a point of insertion for the text. In addition, it creates a new layer for the text. Why? Am already trying to keep the number of layers to a minimum.
Comment by Smith,John
Posted on 2008-08-08 10:12:30
Liked the routine, worked fine, using Acad 2008. Would love to know how to provide a conversion factor for square feet instead on square inches. Have already slightly changed the name of the layers to more fully comply with AIA standards. kudos from Michael
Comment by maneja,ronald
Posted on 2008-08-18 11:35:30
thanks guys for downloading, if any comments/questions/suggestion, you may contact me at ron_09812001@yahoo.com. Keep up. -WiZmAn
Posted on 2010-03-16 23:19:34
Nice LISP! Wizman really a genius! salamat dre!
Posted on 2010-03-16 23:21:36
Nice lisp! Wizman is really a genius! keep it up bro! salamat dito!

Log In