land Posted January 15, 2023 Posted January 15, 2023 i need a lisp to select all entties automaticly in all circles. Quote
Steven P Posted January 15, 2023 Posted January 15, 2023 I might be wrong but you can't use a selection set to select everything in a circle but you can select everything in a polyline. So you might select all circles as a select set something like (ssget "_X" '((0 . "CIRCLE"))) , then in each one draw a temporary polyline shape that touches the circle in lots of places... and use them as the selection set filter (ssget :cp I think - see Lee Mac ssget function reference for which to use). i think out there there in the internet there is a function to draw a temporary line inside a circle, but it is Sunday, CAD is of here, so I can't check for you) 1 Quote
mhupp Posted January 15, 2023 Posted January 15, 2023 Simple way would be bounding box of circle. this creates points around circle. http://www.lee-mac.com/entitytopointlist.html 2 Quote
BIGAL Posted January 16, 2023 Posted January 16, 2023 Not a problem like Steven P make polygons that match cirlcle, then you get vertices and use that with (SSget "F" list) (setq co-ord (mapcar 'cdr (vl-remove-if-not '(lambda (x) (= (car x) 10)) (entget (car plent))))) 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.