Eng.minamaged Posted August 31, 2023 Share Posted August 31, 2023 I want to select only lines, arcs and opened polylines Quote Link to comment Share on other sites More sharing options...
Steven P Posted September 1, 2023 Share Posted September 1, 2023 see if this helps: http://lee-mac.com/ssget.html Quote Link to comment Share on other sites More sharing options...
robierzo Posted September 1, 2023 Share Posted September 1, 2023 Try this code (setq conj (ssget "_X" '((-4 . "<OR") (-4 . "<AND") (0 . "ARC,LINE") (-4 . "AND>") (-4 . "<AND") (0 . "LWPOLYLINE") (-4 . "<OR") (70 . 128) (70 . 0) (-4 . "OR>") (-4 . "AND>") (-4 . "OR>") ) ) ) Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted September 2, 2023 Share Posted September 2, 2023 @robierzo Rather than accepting bit codes other than closed, it may be wiser to reject the closed bit code, as this will continue to function if additional bit codes are added in future. (ssget "_X" '( (-4 . "<OR") (0 . "ARC,LINE") (-4 . "<AND") (0 . "LWPOLYLINE") (-4 . "<NOT") (-4 . "&=") (70 . 1) (-4 . "NOT>") (-4 . "AND>") (-4 . "OR>") ) ) 2 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.