batch xref rename

batch xref rename

jfcadx
Contributor Contributor
379 Views
2 Replies
Message 1 of 3

batch xref rename

jfcadx
Contributor
Contributor

I am using autocad lt 2024 and what I was after was a lisp program to change xreference filenames in one go, like a find and replace function.

I currently use the xref manager to to rename and repath, I just wanted something to make it slightly quicker.

We file  our drawings in folders by project number eg. 1111 and sub-folders filenames are constant, so building layouts are filed in the :  xref\01. working folder ; the items drawn are filed in the models\01. working folder ; etc

So we call our xref filenames by project numbers

eg.  xref-1111-g(prop) ; model-1111-light(prop) ; model-1111-power(prop) ; etc

Because I have a quite a few drawings to what I wanted was a quick change filename

*1111* change it to *2222".  Then I repath them but I have multiple paths eg. xref ; models ; legends ; etc

 

Thanks in advance

0 Likes
380 Views
2 Replies
Replies (2)
Message 2 of 3

paullimapa
Mentor
Mentor

Reference Manager is already pretty fast with repathing xrefs of all dwgs in a given folder & all subfolders. I’m not sure if it does a rename of the xref objects in each drawing and I’m sure it doesn’t batch rename the drawing file names either. Curious as to what have you used in the past to batch rename dwgs from *1111*.dwg to *2222*.dwg?  Also after using Reference Manager to repath did you just leave the xref objects names alone as *1111* or did you use another app to rename them to *2222* in each dwg? Also how did you deal with other file type attachments like pdf, jpg,png  and etc? Or perhaps you only have dwg xrefs to deal with?


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 3 of 3

pendean
Community Legend
Community Legend
@jfcadx Are you wanting to rename actual DWG files in Windows File Manager (aka it will mess up all file associations and in LT there is not an easy fix really), or are you wanting to give XREFs inside top files unique names different from the actual file names?

@paullimapa LT2024 does not come with the external application REFERENCE MANAGER, that's considered a CAD MNAGER tool and LT does not get access to anything like that through the LT2024 versions.
0 Likes