wimal 发表于 2022-7-5 18:30:37

*error* cad 2016

(defun *error* (msg)(princ "/ Qk 14/10/2015")(sysreset);reset sys variables)
 
cad 2016
Cannot invoke (command) from *error* without prior call to (*push-error-using-command*).
Converting (command) calls to (command-s) is recommended.
The above code does not run in cad 2016 version and above message displayed.
How can I modify my code to suit all versions?

Lee Mac 发表于 2022-7-5 20:28:52

Research the command-s function.
页: [1]
查看完整版本: *error* cad 2016