Join Nearest 

Function

This command joins lines, arcs and/or polylines together. While AutoCAD's PEDIT-Join command requires the endpoints to match, Join Nearest will allow you to join entities whose endpoints do not exactly meet. You specify the maximum separation distance to join, along with other options, in the dialog box shown below. You can join many entities at once.


Max Separation to Join: Entities whose endpoints are spaced apart greater than this value will not be joined. You may use the pick button to specify this value by picking two points on the screen.
Max Deflection Angle (degrees): This option will not join any lines if the angle between them is greater than this angle in degrees.
Connection Method: Determines how to connect the endpoints. See the illustration below.

  1. Average Endpoints Together: New vertex will be located at midpoint between two original endpoints (see illustration below on left).
  2. Directly Connect Endpoints: Original endpoints are connected with new segment (see the middle illustration below).
  3. Fillet with Radius Zero: Same as AutoCAD FILLET command using zero radius (see the illustration on right).

Convert lines into polylines: When checked, automatically converts lines and arcs into polylines. If not checked, lines and arcs are joined but remain separate entities.
Join only identical layers: When checked, only entities on the same layer will be joined.
Join only common elevations: When checked, only endpoints located on the same elevation will be joined.


Pullown Menu Location: Edit
Keyboard Command: nearjoin
Prerequisite:
Lines or polylines to be joined
File Names:
\lsp\nearjoin.lsp, \lsp\poly3d.arx