samifox 发表于 2022-7-6 02:30:20

DCL : ; error: quit / exit abo

Hi
 
just starting out DCL
 
using this tutorial
http://www.afralisp.net/dialog-control-language/tutorials/getting-started-part-1.php
 
get the error
 
; error: quit / exit abort
 
using the same file names
i add the location to the support path
 
any idea?
 
Thanks
Shay

Tharwat 发表于 2022-7-6 02:52:00

It works here , how did you run the code ?

samifox 发表于 2022-7-6 02:59:54

I copied the 2 files to autocad root folder and it worked there.
 
maybe i need to reinstall autocad?

Tharwat 发表于 2022-7-6 03:09:00

 
That's not clear enough at least to me .
 
 
There's no need for that at all .

samifox 发表于 2022-7-6 03:29:51

i copy paste the 2 files of the provided tutuorial
 
i name both the same with dcl and lsp
 
i add search path to autocad
 
i run the code
 
it didnt work
 
when i took those files to autocad root folder
 
it works

Tharwat 发表于 2022-7-6 03:40:56

I don't know what you mean by root folder but anyway as I can see from your profile that you are using AutoCAD 2010 so
add the attached dcl file into the Support folder in Autocad , for instance C:\Program Files\AutoCAD 2010\Support and after that
run the lisp file with the command Appload and after invoking the command name of the routine test_dcl1 you should be prompted
with the same message as shown in the above said link .
test_dcl1.DCL
test_dcl1.LSP
页: [1]
查看完整版本: DCL : ; error: quit / exit abo