Tip 2225: Block Repair Block Repair is one of two gems this month from Michael Kolomiyets. This utility repairs blocks by going through selected block definitions and changing the properties of the objects inside back to the basics. The basics consist of layer "0," no special colors and no special linetypes. You are given the chance to tell the routine not to change these values when running. With a little tweaking, you can make this function automatically detect and correct other standards inside block definitions based on your rules. Load the LISP code and type Brp to run the Block Repair utility. This tip demonstrates some top-flight programming. |