polylines
polylines
(OP)
Could someone please tell me how to make a polyline from a set of lines?
Thanks
Thanks
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting GuidelinesJobs |
|
RE: polylines
simply enter the command pedit, pick on the first line, acad will ask you if you want to make it into a polyline, enter y, then use j (for join), pick the other lines (use can use a cross or regular window as well), then hit enter. Now all segments are one polyline. Good luck.
RE: polylines
Copy and paste the below expessions in a file and svae it
as a text file named: MP.LSP
you can load this file into AutoCAD using the command
APPLOAD. After loading this file you will have new
command named MP. This command prompts to select an object
(line, arc, or polyline) and joins all coincident objects
to it.
(defun c:mp(/ e)
(setq e (entsel "\n Select a line, arc, or 2D pline: "))
(if (or (= (cdr (assoc 0 (entget (car e)))) "LINE")
(= (cdr (assoc 0 (entget (car e)))) "ARC"))
(command "._PEDIT" e "Y" "J" "all" "" "")
(if (= (cdr (assoc 0 (entget (car e)))) "LWPOLYLINE")
(command "._PEDIT" e "J" "all" "" "")
)
)
(princ)
)
Regards,
Farzad
RE: polylines
This is a multiple line selection that will join them into polylines. Plus it gives you the option of a "fuzzy" distance so that every line doesn't have to be exactly connected.
RE: polylines
Pea$e
RE: polylines
"The object is not parallel to the UCS."?
How can I join lines lost in the space?
RE: polylines
Pea$e
RE: polylines