Guest
Hello,
Please help. I have an AutoCad drawing, which has a lot of Xref (external reference - collecting drawings from another location/folder in my computer and then posting them into a single AutoCad drawing). Recently, I renamed some Xref files and moved them into a different folder/location.
When I reopen my AutoCad drawing, some of my drawings cannot be displayed because some Xref are missing or not loaded (due to renaming and moving them into a different folder/location, which Autocad don't know how to locate them)
So currently i start fixing the Xref path by browsing each file to the correct name & path of the new location.
For a lot of Xrefs, this is very painfull. =) I am just wondering if there is a VBA code, which can help me fix this Xref issue. My first thought is to list all Old Xrefs (drawing name & its location) and New Xrefs in 1 folder, plug them into a VBA code, and run the VBA code in the AutoCad. Therefore, the program can match/compare the old and new Xref name & its location and automatically repath the Xref for me. Please let me know if this can be done. This really helps. Thank you in advance for your help.
Yudha
Please help. I have an AutoCad drawing, which has a lot of Xref (external reference - collecting drawings from another location/folder in my computer and then posting them into a single AutoCad drawing). Recently, I renamed some Xref files and moved them into a different folder/location.
When I reopen my AutoCad drawing, some of my drawings cannot be displayed because some Xref are missing or not loaded (due to renaming and moving them into a different folder/location, which Autocad don't know how to locate them)
So currently i start fixing the Xref path by browsing each file to the correct name & path of the new location.
For a lot of Xrefs, this is very painfull. =) I am just wondering if there is a VBA code, which can help me fix this Xref issue. My first thought is to list all Old Xrefs (drawing name & its location) and New Xrefs in 1 folder, plug them into a VBA code, and run the VBA code in the AutoCad. Therefore, the program can match/compare the old and new Xref name & its location and automatically repath the Xref for me. Please let me know if this can be done. This really helps. Thank you in advance for your help.
Yudha