Registered forum members do not see this ad.
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!
(^_^)
Last edited by ILoveMadoka; 19th May 2009 at 08:27 pm. Reason: Syntax error




Registered forum members do not see this ad.
try puttingafter the (defun c:... lineCode:(setvar "qaflags" 1)
Bookmarks