TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: ronjonp on July 18, 2007, 04:25:44 PM
-
Does anyone see why this ss below would not filter polylines on one layer and blocks on one layer? Right now it is only selecting the blocks?
(setq ss (ssget (list '(-4 . "OR<")
'(-4 . "<AND")
'(0 . "*POLYLINE")
(cons 8 *polylay*)
'(-4 . "AND>")
'(-4 . "<AND")
'(0 . "INSERT")
(cons 8 *entlay*)
'(-4 . "AND>")
'(-4 . "OR>")
)
)
)
-
setq <add space> ss
Just a shot in the dark...
-
(setq ss (ssget (list '(-4 . "OR<")
)
"<OR"
Changing that worked for me.....
Make sure, too, that the *polylay* variable holds the desired layer.
-
Thanks Jeff....sometimes you need another set of eyes :)