I hope this makes some sense what I am trying do. I have two routines. Both routines do the same thing however, One is a more simplistic approach to the command, walking the user through what the command does.
I am trying to figure out a method, where once the command is activated, there would be a option or popup check box that can enable an advanced mode. Once the user selects it, then from there out, it remains on that mode.
Thank you for any pointers on this one.
(defun c:Erase_All_Lines_Simple ()
(Alert "This command will Automatically Erase All Lines within the drawing.")
(ssget "x" '((0 . "LINE")))
(initcommandversion 2)
(command "erase" "p" "")
(Alert "All lines are now Erased from this drawing.")
(princ))
(defun c:Erase_All_Lines_Advanced ()
(ssget "x" '((0 . "LINE")))
(initcommandversion 2)
(command "erase" "p" "")
(princ))