TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: HasanCAD on March 10, 2016, 08:36:20 AM

Title: Change a part of Xref path for all file in a folder
Post by: HasanCAD on March 10, 2016, 08:36:20 AM
We updating the network system and adding new server related to that we have to change a part of xref path for all projects.
I am wondering if there a lisp to do that task.

Old Path:
Quote
X:\KSA\...
New Path
Quote
X:\...
Title: Re: Change a part of Xref path for all file in a folder
Post by: Lee Mac on March 10, 2016, 08:47:48 AM
Reference Manager?
Title: Re: Change a part of Xref path for all file in a folder
Post by: HasanCAD on March 10, 2016, 09:02:53 AM
Reference Manager?

I agree but Reference manager it is good for small project.
Let me tell you that I am working on a project has more than 900 DWG
This is LOD of the project
Title: Re: Change a part of Xref path for all file in a folder
Post by: didier on March 10, 2016, 09:19:23 AM
Coucou

I think the command REDIR will operate.

in your case, you will answer X:\KSA*
and you will replace by
X:\*

I think it will be OK

sorry for my poor english.

amicalement

Title: Re: Change a part of Xref path for all file in a folder
Post by: HasanCAD on March 10, 2016, 10:09:32 AM
Coucou

I think the command REDIR will operate.

in your case, you will answer X:\KSA*
and you will replace by
X:\*

I think it will be OK

sorry for my poor english.

amicalement
I believe that this command is OK for opened file only.
Title: Re: Change a part of Xref path for all file in a folder
Post by: didier on March 11, 2016, 09:10:30 AM
Coucou

I did not understand your request to work on closed files
perhaps a "script" (.scr)

amicalement