- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I have a very simple Lisp routine that changes all XREF path types to Relative. The rpath.lsp file contains just the following:
(defun c:rpath ()
(command "-XREF" "T" "*" "R")
(princ)
)
It works perfectly when I run it from within AutoCAD. However, when I run it in ACCORECONSOLE.EXE, it runs but does not actually change the paths. Here's the script:
(load "S:\\Doug\\rpath.lsp")
rpath
qsave
When I specify this script on the ACCORECONSOLE.EXE command, I get the message "2 path(s) not changed."
The drawing in question has two XREFs, both with absolute (Full) paths. As I said, if I open the drawing in AutocAD, load the rpath.ls file and run the rpath command, both XREFs get changed to Relative paths. But no change is made when I run the same Lisp file from ACCORECONSOLE.XE.
Any suggestions?
Solved! Go to Solution.