Join Nearest 

This command joins lines, arcs and/or polylines together. While the 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. Also 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.
Progressive Filters: This option automatically runs Join Nearest multiple times with greater tolerances starting with tight tolerances and going up to the specified limits. This method helps ensure that the best matches get priority.
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 the FILLET command using zero radius (see the illustration on right).

Convert Lines and Arcs Into Polylines: When checked, automatically converts lines and arcs into polylines. If not checked, lines and arcs are joined but remain separate entities.
Join Across Intersections: This option applies to cases where more than two linework endpoints come together such as a Y intersection. In these cases, there are multiple possible connections. When this option is on, the program will automatically choose one of the possible connections. Otherwise, the program will not connect any of them.
Join Only Identical Widths: When checked, only polylines with the same width will be joined.
Join Only Identical Layers: When checked, only entities on the same layer will be joined.
Join Only Identical Colors: When checked, only entities with the same color will be joined.
Join Only Identical Linetypes: When checked, only polylines with the same linetype will be joined.
Join Only Common Elevations:
When checked, only endpoints located on the same elevation will be joined.
Different Layer Prompt: When Join Only Identical Layers is off, then this option will prompt for which layer to use when it finds a connection between two different layer names.
Different Elevation Prompt: When Join Only Common Elevations is off, then this option will prompt for which elevation to use when it finds a connection between two different elevations.
Elevate Zero Elevations When Joined To Elevated: This option applies when joining a combination of linework at elevation and linework at zero elevation. When checked, zero elevation vertices will get assigned the elevations from connected neighboring vertices.
Show Options on Startup:
Controls whether to show the options dialog at the start of the command. When this option is turned off, you can type O for Options at the command line to bring up the dialog.Pulldown Menu Location: Edit
Keyboard Command:
nearjoin
Prerequisite:
Lines or polylines to be joined

Converted from CHM to HTML with chm2web Standard 2.85 (unicode)