This routine cleans up the unwanted ATTDEF entities left behind when an attributed block is exploded with the regular AutoCAD Explode command. It achieves this by converting the unwanted entities to text. This routine from Robert L. Zipprich includes a dialog box, and the included DCL file must be located in a path that is included in the support file search path. After you complete this, load the LISP file and type in the command ATDF2TXT. The routine will scan the drawing looking for ATTDEF entities. If none are found, the program will alert you; if some are found, you will be prompted to convert None, Single, or All. Choosing None will exit the routine; choosing Single will allow you to select a single ATTDEF entity; and choosing All will convert all of the ATTDEF entities to text. |