Cadologist Posted May 2, 2016 Share Posted May 2, 2016 I have an old LISP that worked well to repath any Xrefs contained within a drawing to 'relative' however it no longer works for AutoCAD 2015+. After an hour searching on various forums, can't seem to find a new one. Does anyone know of one that works with AutoCAD 2015? Quote Link to comment Share on other sites More sharing options...
rkmcswain Posted May 2, 2016 Share Posted May 2, 2016 Maybe it would be easier to fix the one that you have to work with 2015. Do you know why it no longer works? What version did it last work in? Can you post the lisp code? Quote Link to comment Share on other sites More sharing options...
Cadologist Posted May 2, 2016 Author Share Posted May 2, 2016 Hey thanks for the reply..... I have a couple different LISPs that I have found. The one that worked before is crazy-long (xrp2011.lsp) which when I run it in AutoCAD 2015 pops up a dialog box saying something that it only works from 2005-2011 (although it worked in 2013). The second LISP which I found on the Autodesk Community Forums here today, attachment named (rpath.lsp) also doesn't work. Any help or guidance would be greatly appreciated!! xrp2011.lsp rpath.lsp Quote Link to comment Share on other sites More sharing options...
broncos15 Posted May 3, 2016 Share Posted May 3, 2016 AutoCAD added an option in 2014 to change the path to relative via the command line. Now all you need to do is (command "._xref" "_T" XREFName "_R") or if you want to do all of them (command "._xref" "_T" "*" "_R") Quote Link to comment Share on other sites More sharing options...
Cadologist Posted May 3, 2016 Author Share Posted May 3, 2016 Hey thanks Broncos15, that worked perfectly and even better as I have this as a button on a Tool Palette for our staff to utilize. Much easier to code it in as a command then LISP for similar actions as this. Again very appreciated and thanks for taking the time to reply. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.