Bilal Issa e-mailed a request for a routine to fill an arbitrary area such as a circle, polygon, rectangle, triangle or closed polyline with an array of symbols or blocks. The routine should offer a choice of row and column spacing and should present a list of available blocks from which to choose in the current drawing. The blocks should appear as individual objects so they can be selected and adjusted later. Some typical areas to fill are shown below.
The AutoLISP Solution is ADARRAY.LSP, a routine that allows users to select a block from a pop-up list, choose the row and column spacing and pick a point inside the area to be filled.
Get the Code
Download the ADARRAY.LSP and ADARRAY.DCL files from Cadalyst's Get the Code! and save the files in AutoCAD's Support directory. Use the Appload facility by selecting Tools/Load Application and then select ADARRAY.LSP as shown below.