Jump to content

Explode a SS? I don't understand why not!!!


Recommended Posts

Posted

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!

(^_^)

Posted

try putting

(setvar "qaflags" 1)

after the (defun c:... line

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...