AutoCAD Map 3D Forum
Welcome to Autodesk’s AutoCAD Map 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Is there a way to change Xref file name for multiple drawings without opening all of them ?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
a_zayedX5MJ9
164 Views, 2 Replies

Is there a way to change Xref file name for multiple drawings without opening all of them ?

I Xrefed many drawings then had to change the xref file name so the drawings can't read it now.
Tried using reference manager but it can only change the path not the file name.
Do anyone have an idea to solve this issue with LISP or Script ?
This question has been asked 4 years before but no solution.

Labels (5)
2 REPLIES 2
Message 2 of 3
pendean
in reply to: a_zayedX5MJ9


@a_zayedX5MJ9 wrote:

I Xrefed many drawings then had to change the xref file name so the drawings can't read it now....


Changed the actual DWG file names? And they are still showing as XREFs (but missing) in the top file?

Then you can use the REFERENCE MANAGER to reselect each source file name: does that work?

To do it across more top files, do you have a before/after list of names for those external files. I see lots of LISP that get close to what you want all over the web (not sure where you only saw a 4-year old post), here is one that looks promising (more above and below it)

https://forums.augi.com/showthread.php?149955-Replace-old-xref-files-with-a-set-of-new-xref-files&p=... 

 

Other LISPs to explore

https://www.google.com/search?q=autocad+lisp%3A+replace+old+XREF+file+names+with+new+ones 

Message 3 of 3
a_zayedX5MJ9
in reply to: pendean

Sorry for the late response.
The LISP you mentioned above worked quite well, thank you very much.
Reference manager help only if i want to change the Path of the file not to Xref different file from what i understand.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report