MartinSomerville Posted October 6, 2008 Share Posted October 6, 2008 (setq ss (ssget "X" '( (-4 . " (-4 . "") (-4 . " (-4 . "") (-4 . "") (-4 . "") (-4 . "") (-4 . "or>") (-4 . "and>") ) ) ) hi was just wondering if anyone could help me out will this one. I am only new to lisp. Am wanting to select objects which have a certain colour (colour by colour - not by layer. realise they would not have a 62 if by layer) but if they are text, dim, leader or multileader, then I don't want them selected. Any help would be great thanks regards martin Quote Link to comment Share on other sites More sharing options...
CAB Posted October 6, 2008 Share Posted October 6, 2008 Maybe this:) (setq ss (ssget "X" '( (-4 . "<and") (-4 . "<or") (62 . 1) (62 . 6) (62 . 9) (62 . 42) (62 . 214) (-4 . "or>") (-4 . "<not") (0 . "text,dimension,leader,multileader") (-4 . "not>") (-4 . "and>") ) ) ) Quote Link to comment Share on other sites More sharing options...
MartinSomerville Posted October 6, 2008 Author Share Posted October 6, 2008 thankyou so much i will check it out at work tomorrow cheers martin Quote Link to comment Share on other sites More sharing options...
MartinSomerville Posted October 7, 2008 Author Share Posted October 7, 2008 yep. like a charm!! Quote Link to comment Share on other sites More sharing options...
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.