- ;;[功能] 调用Autocad自身命令
- ;;(HH:command "PLINE")
- (defun HH:command (commandstr / E E0)
- (setq e0 (entlast))
- (apply 'command (list (strcat "_." commandstr)))
- (while (equal (getvar "cmdnames") commandstr) (command pause))
- (setq e (entlast))
- (cond ((not (equal e0 e)) e))
- )
|