Jump to content

Recommended Posts

Posted

I am so frustrated a simple problem (command "explode" "W" maxxy minxy "")

 

I have a single block I know the size of the window to enclose it, if I run it manually explode w !minxy !maxxy works perfectly. The problem seems to be once you do a command "explode" "W" it says invalid selection before you even give it the two window points.

 

Any ideas ?

Posted

So make the selection with (ssget "_W" maxxy minxy) and then feed it to the explode command.

Posted

Thanks Alan fixed it, still a bit odd that the explode window didn't work.

Posted

The Explode command behaves weirdly when used within LISP - the setting of QAFLAGS affects whether it can be passed an Ename or SelectionSet, so I wouldn't be surprised if there were other quirks to be discovered.

Posted
The Explode command behaves weirdly when used within LISP - the setting of QAFLAGS affects whether it can be passed an Ename or SelectionSet, so I wouldn't be surprised if there were other quirks to be discovered.

Lee Mac, I beleive that anything I know you explain nicely and fluently.

 

I am so frustrated a simple problem (command "explode" "W" maxxy minxy "")

 

I have a single block I know the size of the window to enclose it, if I run it manually explode w !minxy !maxxy works perfectly. The problem seems to be once you do a command "explode" "W" it says invalid selection before you even give it the two window points.

 

Any ideas ?

 

(setq Qaflags (getvar 'Qaflags)) 
(Setvar 'Qaflags 1)
(command "explode" "W" maxxy minxy "")
(Setvar 'Qaflags Qaflags)
(setq Qaflags nil)

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...