Eng.minamaged Posted August 31, 2023 Posted August 31, 2023 I want to select only lines, arcs and opened polylines Quote
Steven P Posted September 1, 2023 Posted September 1, 2023 see if this helps: http://lee-mac.com/ssget.html Quote
robierzo Posted September 1, 2023 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
Lee Mac Posted September 2, 2023 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
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.