02-13-2019
01:05 PM
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Denunciar
02-13-2019
01:05 PM
It's more complicated. You can use the name CLOSE for you routine, but you need to UNDEFINE the autocad's original command first. Then you can use your routine to define contents for the CLOSE command name.
Your lisp routine should look like this:
{*.lsp beginnig}
(command "UNDEFINE" "CLOSE")
(defun c:CLOSE ()
(command "_.zoom" "ex")
(command-s "_.SAVE"
(command "_.CLOSE")..... ; note the DOT!!!!
BTW Your custom command marco definition: ^C^C_.ZeSC - Added . (dot) has no sence in here. Also underscore is useless here.