Page 1 of 1

I'd like to automatically load the Lisp file when i start, is there a way?

Posted: Mon Feb 15, 2021 8:13 am
by Choi
Hello.

I am trying to automatically load the Lisp file, but it doesn't work.

What I was, created an 'icad.lsp' file in the 'C:\Program Files\CMS\CMS IntelliCAD 10.0 Premium Edition Plus' folder.
And I writed in three ways in the contents of the file.

1. Code: Select all
(xload "D:\\Lisp\\IHH.lsp")

2. Code: Select all
(xload "D:\Lisp\IHH.lsp")

3. (xload "D:\\Lisp\\IHH.lsp")

but everything got an error
- System error loading "d:\lisp\ihh.lsp" (193).
Can't open "D:\Lisp\IHH.lsp" for execution
error: XLOAD failed

Can you give me some advice if I understand something wrong?

Thank you.

Re: I'd like to automatically load the Lisp file when i start, is there a way?

Posted: Mon Feb 15, 2021 9:54 am
by QuanNguyen
Please use LOAD instead :

Code: Select all

 (load "D:\\Lisp\\IHH.lsp")

Re: I'd like to automatically load the Lisp file when i start, is there a way?

Posted: Mon Feb 15, 2021 11:21 pm
by Choi
Oh, Thank you.
It works well.
Good.