tipu_sultane Posted April 23, 2014 Posted April 23, 2014 (edited) I want to break a polyline into multiple polylines from one specific point to another. A single polyline into multiples polylines. Edited April 23, 2014 by tipu_sultane Quote
Spaj Posted April 23, 2014 Posted April 23, 2014 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. Quote
tipu_sultane Posted April 23, 2014 Author Posted April 23, 2014 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. Quote
ReMark Posted April 23, 2014 Posted April 23, 2014 How are you going to define the points at which the polyline will be broken? All they equally or unequally spaced? Quote
tipu_sultane Posted April 23, 2014 Author Posted April 23, 2014 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. Quote
ReMark Posted April 23, 2014 Posted April 23, 2014 So this isn't about breaking a polyline but more about obtaining a length? Quote
nestly Posted April 23, 2014 Posted April 23, 2014 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. Quote
tipu_sultane Posted April 23, 2014 Author Posted April 23, 2014 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. Quote
ReMark Posted April 23, 2014 Posted April 23, 2014 So the line could be broken 2, 3 or more times and the distances between break points might vary? Quote
tipu_sultane Posted April 23, 2014 Author Posted April 23, 2014 Thanks Nestly. Its works. I like your way of reply. Any way solve my problem. thanks. Quote
dbroada Posted April 23, 2014 Posted April 23, 2014 if you type @ for the 2nd point it should also work Quote
MSasu Posted April 23, 2014 Posted April 23, 2014 May also want to check the tools from this previous thread. Quote
JerryG Posted April 23, 2014 Posted April 23, 2014 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. Quote
ReMark Posted April 23, 2014 Posted April 23, 2014 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. Quote
JerryG Posted April 24, 2014 Posted April 24, 2014 Mark - were did you post that? I wasnt able to find it on this Post? I might be interested in that Lisp myself:) Quote
CADgirl Posted April 24, 2014 Posted April 24, 2014 Why not use break at point instead of break? Quote
ReMark Posted April 24, 2014 Posted April 24, 2014 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. Quote
ReMark Posted April 24, 2014 Posted April 24, 2014 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 Quote
Recommended Posts
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.