More LISP info please
More LISP info please
(OP)
Hi guys
If I have a lisp file located in a network sub directory
EG O:\ARCHITECTS\ACAD2002\LISP\LISPFILE.LSP
How do I load an run it with such a long path name?
If I move the file to C:\ and type
(Load "c:\lispfile.lsp") it loads and executes fine
but, if I load it in its network location
(Load "O:Architects\Acad2002\Lisp\Lispfile.lsp")
AutoCad gives me a load error.
Any ideas ?
Many thanks
The Welshman
If I have a lisp file located in a network sub directory
EG O:\ARCHITECTS\ACAD2002\LISP\LISPFILE.LSP
How do I load an run it with such a long path name?
If I move the file to C:\ and type
(Load "c:\lispfile.lsp") it loads and executes fine
but, if I load it in its network location
(Load "O:Architects\Acad2002\Lisp\Lispfile.lsp")
AutoCad gives me a load error.
Any ideas ?
Many thanks
The Welshman





RE: More LISP info please
tools -> load application
then browse to .lsp file
it will remember path and add to list, for even more automation, use the start up suite by clicking the "contents" button, then browse for file.
now this lisp will be loaded with each autocad session.
hope this helps
Intel P4 1.7 GHZ
768 RDRAM
Win 2000 Pro
Autocad 14, 2002 with EP 2.3.1
RE: More LISP info please
Good idea, but not really the answer, I know about the startup suite, but I need to know how to specifiy a long path name WITHIN the lisp program.
Any other info greatly recieved.
Cheers
The Welshman.
RE: More LISP info please
"Whether you think that you can, or that you can't, you are usually right "
.. Henry Ford
RE: More LISP info please
I think at first this computer on a network needed to be mapped as disc for example F: on your computer. Then write in Lisp as usual:
"F:\\ARCHITECTS\\ACAD2002\\LISP\\LISPFILE.LSP"
Regards
RE: More LISP info please
The double // worked a treat, however.
What I am trying to achieve is to get a LISP file to load in another lisp file and then run it.
I am using the ACADDOC.LSP file to load a LISP file called MESSAGE.LSP which is located on my network drive (it now loads sucessfully thanks to // as per my previous quiery).
However, once the MESSAGE.LSP is loaded, it fails to run,
(command "message") although if loaded manually it runs fine.
Is there something I am missing about one lisp running another?
Regards
The Welshman.
RE: More LISP info please
(C:message)
Regards