abra-CAD-abra Posted January 22, 2017 Share Posted January 22, 2017 (edited) The following code presents no errors in the VLIDE editor, however, in AutoCAD it gives: "error - bad SSGET list" (setq ss (ssget "_:L" '((0 . "INSERT,LEADER,MULTILEADER,TEXT,MTEXT,DIMENSION") (-4 . "<NOT") (8 . "*_ANNO_*") (-4 . "NOT>") ) ) ;_ end of ssget ) ;_ end of setq It is intended to select filtered entities that are not on the wildcard layer *_ANNO_* Can somebody point me in the right direction? Thanks in advance Edited January 22, 2017 by abra-CAD-abra Fixed Quote Link to comment Share on other sites More sharing options...
abra-CAD-abra Posted January 22, 2017 Author Share Posted January 22, 2017 All, Please disregard this post. I just needed to walk away and clear my head - it is working as expected. Cheers Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted January 22, 2017 Share Posted January 22, 2017 You could also use: (ssget "_:L" '((0 . "INSERT,LEADER,MULTILEADER,TEXT,MTEXT,DIMENSION") (8 . "~*_ANNO_*"))) Quote Link to comment Share on other sites More sharing options...
abra-CAD-abra Posted January 22, 2017 Author Share Posted January 22, 2017 You could also use:(ssget "_:L" '((0 . "INSERT,LEADER,MULTILEADER,TEXT,MTEXT,DIMENSION") (8 . "~*_ANNO_*"))) Thanks Lee Quote Link to comment Share on other sites More sharing options...
Grrr Posted January 22, 2017 Share Posted January 22, 2017 So basicaly group filters work like this: (GC_Value . Wcmatch_Pattern) Quote Link to comment Share on other sites More sharing options...
abra-CAD-abra Posted January 22, 2017 Author Share Posted January 22, 2017 So basicaly group filters work like this: (GC_Value . Wcmatch_Pattern) Yes, thanks Grrr. I got it now - full steam ahead!! 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.