hello experts
would anyone know why this code wouldnt work at startup?
or maybe have a better way to explode all mtext in a dwg upon opening.
this is placed in my acaddoc.lsp it shows as it being loaded but doesnt do what it supposed to, which is explode all mtext when it loads
(defun s::startup ()
(if ss (ssget "x" '((0 . "mtext")))
(progn
(setvar "qaflags" 1)
(command ".explode" "p" "")
(setvar "qaflags" 0)
)
)
(princ)
)
thanks for any and all help