Message 1 of 7

Not applicable
07-28-2015
06:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a simple lisp which I want to have a warning dialogue window (Yes to accept /No to exit) to prevent any accidentally running this lisp.
(defun c:deltext ( / ss ) (setq ss (ssget "x" (list (cons 0 "text")))) (if ss (command ".erase" ss "") (princ "\nNo text in this drawing!") ) (princ) )
Thanks
Solved! Go to Solution.