Andrew1979 Posted September 26, 2014 Share Posted September 26, 2014 This is something that has bugged me for some time. I have written a few programs in Lisp, and when I run them in AutoCAD, I get 'unknown command'. The program actually runs fine, just that before the program starts it says 'unknown command' I have a few programs in one lisp file and some commands work just fine and others from the same file say 'unknown command' before the program starts. Any ideas??? Quote Link to comment Share on other sites More sharing options...
hmsilva Posted September 26, 2014 Share Posted September 26, 2014 This is something that has bugged me for some time. I have written a few programs in Lisp, and when I run them in AutoCAD, I get 'unknown command'. The program actually runs fine, just that before the program starts it says 'unknown command' Usually it means a extra "" (enter) in a command call. Henrique Quote Link to comment Share on other sites More sharing options...
Andrew1979 Posted September 26, 2014 Author Share Posted September 26, 2014 Thanks for that, but I found the problem. All the programs in the same file used a lot of the same functions (defun) but the order that these functions were called under each program were not the same. I simply re-organised the order of the functions called and the problem was solved. 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.