Jump to content

How to break a polyline in to the specific point?


Recommended Posts

Posted (edited)

I want to break a polyline into multiple polylines from one specific point to another.

 

 

A single polyline into multiples polylines.

Edited by tipu_sultane
Posted
I want to break a polyline in specific point.

 

Have you tried the BREAK command? Read the HELP on the various options, especially how to BREAK at a specific point.

Posted

Yes I used it but it deletes the portion of line. I just want to separate one line into multiples so that the total dimensions don't disturb.

Posted

How are you going to define the points at which the polyline will be broken? All they equally or unequally spaced?

Posted

No I just want to count the length of pipe on some network. Which are 1-way, 2-way, and 3-way.

 

 

You can find the two color line red and green in the attached image.

When I select the say green line as a result the selection of entire green line. I just want to break the line where there only one green line existing and find its length using area or list command.

 

 

Similarly to find the length of one line among with two parallel and multiply by two.

 

 

Any way If there is another easy method exist to find the length of lines separate on the basis of ways (1-way, 2way, and 3-way) then help me.

Length-Measure.jpg

Posted

So this isn't about breaking a polyline but more about obtaining a length?

Posted
Yes I used it but it deletes the portion of line. I just want to separate one line into multiples so that the total dimensions don't disturb.

 

After selecting the object, the Command line gives you the option to specify the First and Second break point... just pick the same point for each.

 

Break-First Point.gif

Posted

Yes.

But I think this is easily possible by breaking the polylines into multiple from one specific point to another.

That makes easy to calculate length.

Posted

So the line could be broken 2, 3 or more times and the distances between break points might vary?

Posted

Thanks Nestly. Its works.

I like your way of reply.

Any way solve my problem. thanks.

Posted

if you type @ for the 2nd point it should also work

Posted

If you want to calc equal lengths - say 3 equal lengths.

Type - PDMODE change to 3.

Now type Divide and select the Pline3 for number of segments type 3 or whatever number

you want to divide the line into. This does not actually break the line but places a

node along the line at the specified break number - in this case 3

you could then use the break command and break the Pline to the node that is created when you divided the line.

Posted

Or you could skip PDMODE and the BREAK command and use the SubDivide lisp I mentioned previously. It will divide the line into equal segments whether you want 2, 20, 200 or whatever.

Posted

Mark - were did you post that? I wasnt able to find it on this Post?

I might be interested in that Lisp myself:)

Posted

Why not use break at point instead of break?

 

break at point.png

Posted

JerryG: I didn't post it since I was unsure if it met the needs of the OP. I'm pretty sure I could find it again though.

Posted

Here you go JerryG.

 

Credit goes to Kent1Cooper who uploaded the code on 05-11-2011 to the AutoDESK Community > AutoCAD Customization > Visual Lisp.... forum.

 

Have fun.

 

SubDivide.lsp

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