PDA

View Full Version : extend lines?



matrix
14th Jul 2003, 06:41 pm
if you have two lines that are pointing directly at each other, at no angle at all and you want to connect them at the endpoints without using grips and you dont want to draw a line between them and extend to it is it possible to just connect them with a simple command? Also is it possible to have two different lines that are not Polylines that are connected at the endpoints and turn them into one line without re-drawing it? Thanks, 8)

CADTutor
14th Jul 2003, 08:27 pm
The answer to question 1 is: I can't think of another way - why would you not want to use grips?

The answer to question 2 is: Yes, you can connect two non-polylines to form a single line but in the process, they are turned into a polyline because only polylines can contain multiple line segments. If you use the PEDIT command and select a LINE you will be asked if you want to turn it into a polyline - answer "YES" and you can add other line segments to it using the "JOIN" option.

matrix
14th Jul 2003, 09:19 pm
The question was brought up in my office as far as is there a command to connect two lines head on, almost like some Meet or Connect command and I thought it would be interesting if there was one instead of using grips and pulling one line over to the other, rather you want the two lines to kind of meet in the middle and stay of equal lengths for I guess osnap purposes? I didnt think there was but I was just curious. And thanks for the reply on the 2nd Ques. it did turn it into one entity almost as if it were a block / pline however it kept the same properties of 2 lines / segments when it comes to osnap. (ex. if you draw a wall and the wall is made up of 2 line inteties and you want to draw a line from the mid-point of that wall, even if it is turned into a p-line the osnaps will still recognize the line as still being 2 individual lines and you will not be able to pick the true midpoint of the wall.)???

CADTutor
14th Jul 2003, 10:41 pm
Well, you could always use PEDIT to remove the vertex where the join was made.

matrix
15th Jul 2003, 01:16 pm
Hey thanks, removing the vertex has done exactly what I was looking for. I appreciate it.

Flores
28th Jul 2003, 06:38 am
Heal.lsp gets 2 lines, and turns them into one. The lines can be at any angle, as long as they are colinear to each other. It does'nt matter if there is a gap between them. There are only 2 setbacks: it only works on lines, not polylines, and you can only pick 2 lines at a time.
http://www.cadtoolsonline.com/free.htm

Flores