TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Sitra on April 23, 2004, 02:51:51 PM
-
Looking for a lisp or vba routine to help go through my drawings and change multiple xref drawing paths to dot dot. Without having to open each drawing manually. Any help would be greatly appreciated thanks in advance.
ex:
..\xref\border.dwg
..\xref\siteplan.dwg
..\xref\ductbanks.dwg
-
Conrad, try see this thread (http://theswamp.org/phpBB2/viewtopic.php?t=1170)
There are some more threads if you search for "xref path" or thereabout
-
Thanks I will look more into it. :D
-
Here is another thread to look at.
xref repath (http://www.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&threadm=MPG.1ab6367cd7bba6d09896f3%40discussion.autodesk.com&rnum=6&prev=/groups%3Fq%3Dxref%2Brepath%2Bgroup:autodesk.autocad.customization%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26selm%3DMPG.1ab6367cd7bba6d09896f3%2540discussion.autodesk.com%26rnum%3D6)
-
Is there any way for the path to have a shortcut?????
..\shortcut\XREF.dwg
I tried this and it didnt read the shortcut.... but maybe someone knows something I dont....
-
guess not
-
What about a way to change the xref's from "full path" to "no path"...we keep all xrefs in the same folder as the drawing that it's xref'd into...but we used to use "full path"....now we found that we should be using "no path"
-
This is one way:
(defun c:rx ()
(setq RLXR (getstring "\nName of External Reference to reload: "))
(command "_xref" "r" RLXR)(princ)
)
Another would be to open the XREF dialog box, click on the XREF which has the path you want to change, then delete the path information in the "Xref found at:" box, and press "Save Path".
There may be other ways, always open for better and more elegant. :)
Sorry, you have to open each drawing separately tho. :|
-
Xrepath is the only program I have found to change the paths without opening the drawing. You can manipulate them however your heart desires. :D
http://theswamp.org/phpBB2/viewtopic.php?p=15132#15132