0 Members and 1 Guest are viewing this topic.
(defun c:vpdelc nil (if (ssget "_x" (list '(0 . "VIEWPORT") (cons 410 (getvar 'ctab)))) (command "_erase" "p" "" "") ))
Seems a little dangerous as this would delete all? What would even be the purpose of delete all?