Objectives:
- to bind all XREFS to their host files,
- to eliminate all references and error messages in the XREF windows
- to automate the process and automatically handle errors messages (and create an error message log to allow corrections?)
Scale: There are 350 "Host" drawings containing:
7372 XREFs, of which:
4403 references were "Not Found"
2784 references were "Found"
95 references were "Found in a Different Location"
XREF'd files include:
- dwg
- tiff
- ctb ... and so on
Version: AutoCAD 2012
I volunteer for my small local city in the Parks and Public Works departments.
My task is to eliminate XREFs to avoid errors accumulating over time.
"Reference Manager" was used to create an Excel spreadsheet of all XREF file information.
These have been sorted into 3 descrete files (Found, Not Found, Found in a Different Location).
Opening each "host file" and then binding would take a long time.
Is there an easier solution?
I am self taught, not a programmer, and have only 2 years experience with AutoCAD. But it's fun!
Hello
Welcome to the Autodesk/AutoCAD Forums !
A few ideas :
1) I think you need to correct the 95 "Found in a Different Location"
and then Re-save the main DWGs : Thus you will have know "correct" DWGs !
2) Find and Run a Lisp/VLisp routine that will kills all "Not Found" References : DWGs, Images, DXE, PDFs, DWFs, DGNs
Please look and search in theses forums :
http://forums.autodesk.com/t5/AutoCAD-Customization/ct-p/AutoCADTopic1
Test it on a few different main DWGs ...
Check that the routine can run from Script files ... and then GO !
Bye, Pat
Patrice BRAUD
broadpat,
Thanks for your particularly rapid reply.
I've done al ot of reading as you have suggested. But it leaves me rather confused because of my lack of programming knowledge.
The Developers Guide and the Reference Guide are a bit more than I can handle.
I guess I'm lost on this one.
Thanks,
I hope it is doable using either BatchInDatabase or BatchInEditor which are available to download from Autodesk Exchange Apps and it is FREE
The command Xref-Bind can manage to bind the xref with unloaded/Not found it is in child xref, but AutoCAD bind command will fail, if any one the child xref is unloaded/not found/unreferenced, if prefer to go ahead without resolving the errors then bind will complete with available xref.
Here I try to resolve the missing xrefs thru another command "Xref-Redirect", I direct all xref to a location where the missing xref are exist,
1. command to resolve missing xrefs
2. command to bind all the referecnes which is not applicable to image, CTB and PDF
3. command to report the status after bind operation, if succesfull then batch status will show "no Xref found" else it shows the status of xref which are failed and its path, if available
4. command "Image-Extract" will copy the images either to host drawing location and designated location
5. command "Plotstyle-report" will copy the ctb files to designated location
all the command can be added to selected files and batch run the batch operation