Jump to content

How to break a polyline in to the specific point?


tipu_sultane

Recommended Posts

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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