Kent Cooper brings us a LISP routine to draw squares in AutoCAD based on a predetermined area. You supply the area in square units, and this routine will draw a square. You also have the option of how to place the square, whether by the center or one of the four corners. It repeats automatically, reusing current settings for area and reference location until they are changed by calling for one of those options. And it remembers those settings and offers them as defaults on subsequent use. Load the LISP file and type in the command SQUAREA to get started. As always, Kent's code is well laid out and includes plenty of comments. |