Jump to content

Recommended Posts

Posted

Hello, I'm looking for a way that I can erase any line work underneath a selected poly line. Does any such lisp routine exist?

I am getting a lot of search results on erasing duplicates, but this is not a duplicate situation.

 

Many Thanks

Posted

If you are working in WCS or UCS in plane of WCS, you can use (trans) function in combination with (vlax-curve-getclosestpointtoprojection) to obtain points on each entity/curve in selection set of them... If X and Y coordinates match to those obtained by picking your reference polyline with (ssget "_+.:E:S") like example shown here : http://www.cadtutor.net/forum/showthread.php?91871-Is-there-a-way-get-coordinates-at-the-pick-point-when-selecting-objects-with-ssget&p=#7 , then you can process (entdel ent) if ent/=reference polyline...

 

HTH, M.R.

Posted

Have you tried using the Overkill command first?

Posted

Unfortunately the boundary poly line and is not in World UCS and is also not always orthogonal.

Overkill cleans up around half of the lines, so I am having to manually delete the rest.

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