ILoveMadoka Posted May 19, 2009 Posted May 19, 2009 Is it possible to explode a selection set assigned to a variable? I'm debugging a routine and am having a problem with this code. If I create a selection set with several MTEXT entities it only explodes the last one the way it's written here. I must really misunderstand how the explode command works. It asks for a selection set but I cannot return it as a variable! Once upon a time (ie:version) was the Explode command one of the commands that returned "Select Object:" vs "Select Objects:" ??? This is only a subroutine I've pulled out of a larger proggie I'm working on.. I feel stupid that I can't figure this one out. Help Please!! (defun c:XM4 ( ) (setq t (ssget)) (setq mtss (ssget "P" '((0 . "MTEXT")))) (if mtss (progn (command "explode" mtss "") ) ) (princ)) Thank you to all the code masters who inspire us posers! (^_^) Quote
lpseifert Posted May 19, 2009 Posted May 19, 2009 try putting (setvar "qaflags" 1) after the (defun c:... line Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.