[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.
Find and Replace Xref Path
Tip# 4232 By Clinton Cogswell On 20-Dec-2013
0
Rated By 0 users Downloaded : 509
Categories : DWG
Software type : AutoCAD 2014
Rename File To : xref path replace.LSP
Perform a quick find-and-replace on xref paths in the current drawing.

Manually changing the path for external reference files is something almost all of us have done at one time or another. Tip author Clinton Cogswell uses this LISP routine to perform a quick find-and-replace on xref paths in the current drawing. Start by loading the LISP file, then type in the command PATH. Enter the portion of the xref path that needs to be replaced, and then enter the new path. The LISP code searches the block table for xref paths that contain the string you specify, makes the path replacement, and reloads the xref. Be sure to use the correct case when specifying the old path, as it is case sensitive.

 

Average Rating:
0


User comments


Log In