Dot Dot

Discussion in 'AutoCAD' started by VMAI, Apr 23, 2004.

  1. VMAI

    VMAI Guest

    Looking for a lisp routine to help go through my drawings and change the xref drawing paths to dot dot.

    ex:
    ..\xref\border.dwg

    AutoCad 2000
     
    VMAI, Apr 23, 2004
    #1
  2. VMAI

    JamesWCLark Guest

    I believe a .. takes you back to the next higher directory. You probably want to do . to link to the current working directory or the directory of the drawing(s).
     
    JamesWCLark, Apr 23, 2004
    #2
  3. VMAI

    VMAI Guest

    Well, the .. system works fine when I go and change it in the xref manager but was looking for a lisp or vba routine that would allow me to change multiple drawings without having to open them manually.
     
    VMAI, Apr 23, 2004
    #3
  4. I posted a file name "xrp_v3_2_for_2004.zip" in the Customer-Files
    newsgroup. Look for a message entitled "XREF Relative Pathing Lisp". I
    wrote this quite a while ago (for R14), works on XREFs and IMAGES while in a
    drawing (not externally), figuring out the "dot dot backslash" relative
    path. I kept waiting for it the utility to become obsolete. Beginning with
    ACAD 2004, finally one can apply a relative path when first attaching an
    XREF, but there's still no way to convert a full-pathed XREF after the fact,
    unless you use a utility such as this.

    In R2000i, if you used Buzzsaw (I think it was version 3), there was a
    Project Point "Mini Client"... basically a plugin and menu with tools to
    interface with Buzzsaw... I really liked it. Surprisingly, it had a tool to
    apply relative paths... the first such tool that I saw from Autodesk.
    Unfortunately, the utility applied erroneous paths when XREFs lived "above"
    the current DWG position in a folder tree, so we removed it from the menu
    and in its place, put in my XRP utility. With Buzzsaw 4, they eliminated
    the "Mini Client", which I still pine for (for its general functionality,
    not for the XREF pathing utility that didn't work).

    The whole "relative pathing" thing was an interesting programming challenge.
     
    Mark McDonough, Apr 23, 2004
    #4
  5. VMAI

    VMAI Guest

    Thanks Mark.
     
    VMAI, Apr 26, 2004
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.