On area p3 there are 6 line with color 1 to 6. _$ (setq p3 '((0 0)(10 0)(10 10)(0 10))) ((0 0) (10 0) (10 10) (0 10)) _$ (setq ss (ssget "_WP" p3 '((0 . "LINE")(62 . 5)))) nil I've tested a ssget with filter "wp",but result is "nil"