With every new release the behaviour of existing commands may change. So when certain commands (for example EXPLODE) are issued in the Lisp routine, they may not behave as in previous version. The workaround is to add (initcommandversion 2) before the command is called. You can try this:
(defun s::startup ()
(if (ssget "X" '((0 . "MTEXT")))
(progn
; (setvar "qaflags" 1)
[color=red](initcommandversion 2)[/color]
(command "._explode" "P" "")
; (setvar "qaflags" 0)
)
)
(princ)
)
BTW... I wonder why you are turning off the grips? If you start a new drawing it seems to me that nothing is selected...
thanks Crank ill give this a try
as for the qaflags i read that they are usefull if i wanted to explode a selection set. maybe i misunderstood it.
and for some reason if i were to run my original explode mtext code without the qaflags, my custom ddedit lisp wouldnt work properly
ill let ya know how this worked out
thanks again
adding the initcommandversion did the trick
thanks again