Author Topic: Help uploading and reloading Xref in a directory  (Read 2231 times)

0 Members and 1 Guest are viewing this topic.

diego65

  • Newt
  • Posts: 51
  • Learning LISP is a cool thing
Help uploading and reloading Xref in a directory
« on: December 12, 2012, 12:54:15 PM »
I am looking for some help creating a LISP that will allow me to unload and or reload a specific xref in a bunch of drawings by using the xref file name.

Any help will be appreciated it…

Thank you…

Lee Mac

  • Seagull
  • Posts: 12912
  • London, England
Re: Help uploading and reloading Xref in a directory
« Reply #1 on: December 12, 2012, 01:22:20 PM »
You will need to use a Script to process the drawings, since XRefs are not loaded when interfacing with a drawing using ObjectDBX.

CADDOG

  • Newt
  • Posts: 82
  • wishbonesr
Re: Help uploading and reloading Xref in a directory
« Reply #2 on: December 12, 2012, 09:25:19 PM »
Anybody ever try to add 32 to dxf 70.  Just thinkin...

irneb

  • Water Moccasin
  • Posts: 1794
  • ACad R9-2016, Revit Arch 6-2016
Re: Help uploading and reloading Xref in a directory
« Reply #3 on: December 13, 2012, 12:51:57 AM »
Anybody ever try to add 32 to dxf 70.  Just thinkin...
Doesn't work ... not through ObjectDBX. And if you can believe the help on that, the 32 & 64 bitcodes are "Ignored on input" anyway.

Nope, as Lee's stated use a script on multiple drawings. You need only use the XREF command's command-line arguments for this. E.g. say your xref's name is MyXREF.DWG, then your SCR file should look something like this:
Code: [Select]
-XREF Reload MyXREF
QSAVE
Then run that through something like ScriptPro / AutoScript.
Common sense - the curse in disguise. Because if you have it, you have to live with those that don't.