BIGAL Posted April 13, 2011 Posted April 13, 2011 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 ? Quote
alanjt Posted April 13, 2011 Posted April 13, 2011 So make the selection with (ssget "_W" maxxy minxy) and then feed it to the explode command. Quote
BIGAL Posted April 13, 2011 Author Posted April 13, 2011 Thanks Alan fixed it, still a bit odd that the explode window didn't work. Quote
Lee Mac Posted April 13, 2011 Posted April 13, 2011 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. Quote
Ahankhah Posted April 15, 2011 Posted April 15, 2011 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) 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.