Jump to content

Why do I get Unknown Command


Andrew1979

Recommended Posts

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???

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...