Andrew1979 Posted April 17, 2014 Posted April 17, 2014 I have had this issue with a few lisp routines over the years. The lisp routine runs fine, but after running says at the command prompt "unknown command" for the command that just ran fine. Any ideas what causes this? It seems to happen when using the command function in the lisp routine. here is a snippet of the code that I think is the offending part that causes the unknown command (command ;Roof Battens "pline" Batten-P1 Batten-P2 Batten-P3 Batten-P4 "c" "ucs" "z" BattenUCS "-array" "last" "" "r" "1" BattenSpace BattenCtrs "ucs" "" "" "cecolor" "8" "line" Batten-P1 Batten-P3 "" "ucs" "z" BattenUCS "-array" "last" "" "r" "1" BattenSpace BattenCtrs "ucs" "" "" "line" Batten-P2 Batten-P4 "" "ucs" "z" BattenUCS "-array" "last" "" "r" "1" BattenSpace BattenCtrs ) I think it might have to do with the ucs command or array command. When I comment out this part of the command, the other lines (not shown in code) work without the unknown command coming up Quote
Snownut Posted April 17, 2014 Posted April 17, 2014 Looks to me like you have an extra set of quotes in the ucs commands. Should be "ucs" "" not "ucs" "" "" Quote
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.