Jump to content

A AutoLISP Function that breaks any lines that intersect with a selected line?


Recommended Posts

Posted

Title above! I need help creating a lisp routine to do the above. As I want to be able to draw a square around an area, select the square, run the function, and have it all break so I can cleanly excise anything within the selected area. Any help would be greatly appreciated!

Posted

If the end game is to isolate what's inside the square, why the need to break anything?

 

Maybe post a .dwg with before and after noting what you need to do with objects in the square.

Posted

I got distracted today, have half a LISP that will delete anything outside a polyline (good to shrink a drawing size if I only want a small part of say, a plan).... it didn't break lines and delete any outside the selected area.. but from there might be an easy conversion to what you want. In the office tomorrow so got to look half busy at least, might have another look

Posted
4 hours ago, BIGAL said:

@Steven P is that not extrim command or Cookie cutter.lsp

 

Like everything I want to add extras.... but yes

Posted

CookieCutter2 by Joe Burke, you should be able to find it.

 

He is active on Autodesk Forums.

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