Tip author Juan Villarreal sends us a super LISP routine for converting plain geometry into a table entity. Before table entities were available in AutoCAD, you had to create your own, generally with lines and text. This routine will convert your existing lines, text, and blocks to a true table object for easier editing later. Start by loading the routine and typing in the command COT. It will ask you to select a table style and specify whether or not it should search for merged cells; after that, select your geometry. It is assumed that the top row is the title, and the cell position of text and blocks are determined by the insertion point. If all goes well, the selected objects will be erased and a single table object will be created in their place. Juan's code also includes plenty of comments. |