禁用AutoCAD的命令

undefine commandName 禁用某指令

redefine commandName 重新启用某指令

原文地址:https://www.cnblogs.com/wf225/p/1306255.html