PDA

View Full Version : Divide by a certain length

nrschmid
3rd Mar 2008, 02:00 pm
I need help with two different things:

#1. I have a polyline, part of which is curved. It measures 1,238'. I want to divide the polyline so that I have one part measure 800' and the other part measure 438'. How can I do this?

#2. How can I divide a polyline by a certain length? I want to divide the 1,238' polyline every 40'. I would like to have (30) parts that measure 40' each, and the last measure 38'. CAD allows me to divide by the number of segments, which means I would have (30) equal segments that meausre 41.26', which is too large. Is there something in CAD I am overlooking? Is there a lsp file I could use?

Thanks-

GE13579
3rd Mar 2008, 02:12 pm
It sounds like you need the MEASURE command?

rkmcswain
3rd Mar 2008, 02:30 pm
I need help with two different things:

#1. I have a polyline, part of which is curved. It measures 1,238'. I want to divide the polyline so that I have one part measure 800' and the other part measure 438'. How can I do this?

2 ways.
A. Set PDMODE to 34 and PDSIZE to -5. Then use the ._MEASURE command and 800 at the distance. This will place a visible POINT entity at the 800' mark. Then you can use the ._BREAK command to break it at that point.
B. Copy the polyline in place so that there are two of them. Use the ._LENGTHEN command and the _Total option. Use 800 for the total length, pick one of the polylines.

#2. How can I divide a polyline by a certain length? I want to divide the 1,238' polyline every 40'. I would like to have (30) parts that measure 40' each, and the last measure 38'. CAD allows me to divide by the number of segments, which means I would have (30) equal segments that meausre 41.26', which is too large. Is there something in CAD I am overlooking? Is there a lsp file I could use?

The ._MEASURE command will set points every 40', but you will have to make all the breaks yourself.

nrschmid
3rd Mar 2008, 03:18 pm
Thanks for the responses. Instead of using PDMODE and PDSIZE, couldn't I assign a different color for the point? Right now all the segments in the polyline curve are just blue squares. The point at 800' is the same color as the segments.

The polyline is located in an xref, and the block that I want to use is in the main file. How can I break the polyline using the block without placing the block in the xref?

Thanks again.