[Search tip detail and code files using keywords, tip number, author name, etc ]
 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Tip 2286: Reset Path for Xref Blocks
Tip# 2286 By Leonid Nemirovsky On 01-May-2008
1
Rated By 1 users Downloaded : 803
Categories : Nested Blocks, Edit Blocks, DWG
Software type : AutoCAD
Rename File To : Tip 2286: XrefRel.LSP
XrefRel.LSP: Routine automatically updates paths for externally referenced blocks.

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.

 

 

Average Rating:
1


User comments
Comment by Morah,Oka
Posted on 2008-09-25 15:27:44
I cannot get this Tip to run. I copied it to my LISP folder, set the path in my AutoCAD 2009 path search, used the Load Applications to load it, and added loaded it into my CUI, still the routine will not run. I am using the call name "xrefrel". Any help will be appreciated. Thanks in advance.


Log In