Jump to content

Recommended Posts

Posted

Hey,

 

This isnt so much of a problem as an annoyance. When I try to make poly lines from connected single lines my procedure is as follows...

 

pedit, right click, multiple, select lines/objects, enter, yes, join x 3, esc

 

My annoyance is if i hit join once it will not make the lines into polylines, if i hit join 3 times or so and then esc it will.

 

It just doesnt seem that is right and I think i might be missing something. I have been doing pedit this way for a long time adn its probably finally time to figure this one out. Any help would be great

Posted

What is on the command line after you select join the first time?

Posted

This is my command line:

 

Command: pe PEDIT Select polyline or [Multiple]: m
Select objects: Specify opposite corner: 5 found

Select objects:

Enter an option [Close/Open/Join/Width/Fit/Spline/Decurve/Ltype gen/Undo]: j
Join Type = Extend
Enter fuzz distance or [Jointype] <0.00>:

4 segments added to polyline

Enter an option [Close/Open/Join/Width/Fit/Spline/Decurve/Ltype gen/Undo]:

Posted

You showed yours, now I will show mine.

 

Command: pedit
Select polyline or [Multiple]: m

Select objects: all
336 found
88 were not in current space.

Select objects:

Enter an option [Close/Open/Join/Width/Fit/Spline/Decurve/Ltype 
gen/Reverse/Undo]: j

Join Type = Extend
Enter fuzz distance or [Jointype] <0'-0">:

71 segments added to 11 polylines

Posted

Well, in all honesty, I'm lazy, so I use the following:

 

(defun c:MJ (/ ss)
 ;; Join multiple Arcs/Lines/LWPolylines
 ;; Alan J. Thompson
 (if (setq ss (ssget "_:L" '((0 . "ARC,LINE,LWPOLYLINE"))))
   (if (eq (getvar 'peditaccept) 1)
     (command "_.pedit" "_m" ss "" "_j" "" "")
     (command "_.pedit" "_m" ss "" "_y" "_j" "" "")
   )
 )
 (princ)
)

Posted

what is fuzz distance?

Posted

Fuzz is the distance (which you can set) at which the endpoints of your lines or plines will be joined. For instance if you set fuzz at .062, any segments at that distance or less will be joined. Greater than that will be ignored.

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