Jump to content

Recommended Posts

Posted

Hi,

I have a polyline and I want to break it at multiple points. I used break at point, but this way I can select only one point to break the polyline and I also used explode, but this function turns the polyline into lines and I need them to be polylines.  There is a way to select multiple points to break the polyline?

Posted

If you look at this its the vertice points so dont use the 1st and last point.

 

(setq plent (entsel "\nPick pline"))
(if plent (setq co-ord (mapcar 'cdr (vl-remove-if-not '(lambda (x) (= (car x) 10)) (entget (car plent))))))
(princ co-ord)

 

 

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