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. |