CAD Managers

Active Contributor
Posts: 43
Registered: ‎02-18-2013
Message 1 of 3 (542 Views)

Issues with renaming an xref file.

542 Views, 2 Replies
08-28-2013 12:50 AM



I have a title block frame inserted as xref into hundreds of files. When i rename this xref it shows unreferenced in all the other files where i've inserted and thats normal. 

My question is how can we sort this issue by fixing all at one go. I'm hoping there will be a way which is something similar to "Reference Manager" or with a lisp program. Please help me.



*Expert Elite*
Posts: 3,508
Registered: ‎11-13-2006
Message 2 of 3 (522 Views)

Re: Issues with renaming an xref file.

08-28-2013 04:53 AM in reply to: riznasp

Looks like this thread has a good start at it.



Distinguished Contributor
Posts: 140
Registered: ‎10-04-2006
Message 3 of 3 (480 Views)

Re: Issues with renaming an xref file.

08-30-2013 10:05 PM in reply to: riznasp


Try with BatchInDatabase or BatchInEditor which are free and available to download from Autodesk Exchange Apps  .

For a single xref file, use the command "Xref-Replace Path" and you can add multiple times for every xref file


Xref-Replace Path.PNG


For multiple files , you could do that using command "Redirect Refences"

you can direct all references to point to new folder by entering *  at the old path filed and give new folder name in the new path field or you can use this as find/Replace strings in path including file name

for an example:

Let say,You have Xref files for the Preliminary phase which starts with X-ABC-000-FILE NAME and wants to move to next phase Detail Design but wants to keep the preliminary xrefs as it is until the submission is approved or to resubmit again with some revision or for any other reason.


Now you have files copied to new location that is under Detail design folder (as shown in the image) with new name X-ABC-001-FILE NAME

here you have new folder plus renamed xref files (from X-ABC-000- to X-ABC-001-).

Now enter strings "P:\PRELIMINARY DESIGN\XREF\X-ABC-000-" in the old path and

"P:\DETAIL DESIGN\XREF\X-ABC-001-" in the new path


this operation will change all xref files path matching with sarting string to new path string, if you have multiple directories then you can add this command multiple times for each different folders.


Redirect References.PNG



Watch the avalable videos in the website to learn how to use the available commands



Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.

Manufacturing CAD & IT Manager Resource
Additional information for installing, licensing & deploying Inventor, the Product Design Suites and Factory Design Suites.