Jump to content

Recommended Posts

Posted

i need a lisp to select all entties automaticly in all circles.

 

image.thumb.png.58ec676ee55e24879a15c3df395687c1.png

Posted

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)

  • Agree 1
Posted

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)))))

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...