Tip 2286: Reset Path for Xref Blocks Reset Path for Xref Blocks comes to us from frequent contributor Leonid Nemirovsky. This routine solves a relatively common problem for those who use externally referenced blocks - path changes. When you encounter a problem with lost xref blocks, copy all the external files into one folder that is part of the AutoCAD search path. Then load the LISP code and type XrefRel at the Command prompt. The rest is automatic, as the routine ripples down the blocks table and looks for externally referenced blocks. When found, it rebinds them to the drawing using the new folder location. It's a very useful routine when accepting drawings from outside sources. |