Attribute Match (Tip #2175) from Will DeLoach is a wonderful utility for manipulating attributes in an AutoCAD drawing. Load up the LISP code and type Matchatts in AutoCAD to get it started. The first thing is to select a block insert that contains attributes. The program dynamically creates a DCL (dialog control language) file and displays it. The dialog box contains the attribute tag names as toggle selections. Click the toggle for the attributes to be copied, select OK and pick the blocks you want updated. The program only updates the attributes of blocks of the same insert name that gives them the value from the first insert instance selected. This is a beautiful program, well structured, and full of great programming examples for those learning LISP. |