Skip to content
Tutorials Center
My learning

Topics

Lesson 18 of 38 ยท Editing and Modify Tools

STRETCH, LENGTHEN, BREAK, JOIN and EXPLODE

Reshape geometry in AutoCAD with STRETCH (crossing selection rule), LENGTHEN, BREAK, BREAK at point, JOIN and EXPLODE, with a Python model of how stretch moves only vertices inside the window.

Some edits change the shape of existing objects instead of moving or copying them: lengthening a room, cutting a gap for a door, joining pieces into one path, or taking a block apart. This lesson covers STRETCH, LENGTHEN, BREAK, JOIN and EXPLODE, and the rule that decides what STRETCH moves.

STRETCH

S. Moves part of a drawing while stretching what is attached, so a room can be made 500 longer without redrawing. The one rule you must remember:

Select the objects with a crossing window (or crossing polygon). Vertices and endpoints inside the window move; objects entirely inside move whole; endpoints outside stay.

Steps: S, drag a crossing window (right to left) that encloses the end you want to move, press Enter, pick a base point, then the second point or type a displacement (@500,0). A line with one end in the window gets longer or shorter; a line with both ends in the window moves like MOVE; a circle only moves if its centre point is inside the window (circles cannot stretch). Arcs change radius, and polyline vertices follow their selection state.

STRETCH respects Ortho and direct distance: a window around the right wall of a rectangle, then move right and type 500, enlarges the room by 500 in X, and the top and bottom walls stretch along.

Common uses: resizing rooms, extending a pipe run, lengthening an assembly, shifting a window opening while connected lines follow.

LENGTHEN

LEN. Changes the length of an open object (line, arc, open polyline, spline) at the end nearest your pick. Options: DElta (add or remove a distance, such as DE, 100), Percent (P, 150 means 1.5 times), Total (T, set the final length) and DYnamic (drag the end). It does not work on closed objects. For one-off changes, a grip is quicker, but LENGTHEN is precise.

BREAK

BR. Removes a portion of an object or splits it into two.

  • Two-point break: select the object (the point you click is the first break point by default), then pick the second break point; the part between them is removed. To control the first point exactly, type F and pick it.
  • Break at point: the Modify panel's "Break at Point" button splits the object at one point without removing anything, leaving two objects that touch. Use it to put a layer or linetype change in the middle of a line.
  • For circles, breaking creates an arc; the break direction is counter-clockwise from the first to second point.
  • A trick: to make a gap in a line for a door, break between the two jamb points, or better, put a TRIM against two construction lines.

JOIN

J. Merges collinear lines (even with a gap between), arcs on the same circle, polylines, 3D polylines, splines and helixes, into a single object when their ends touch or line up. Select a source object, then the ones to join (or Enter for all matching). For arcs, L (Close) turns an arc into a full circle.

Tips: JOIN of lines with a gap produces one longer line covering the gap, which can quietly hide an error, so check the result. For disconnected shapes, adjust the fuzz distance in PEDIT. If you intend a closed boundary, a closed polyline is ideal for hatching, offsets and area.

EXPLODE

X. Breaks a compound object into simpler parts: polylines to lines and arcs, blocks to their original objects, hatches to lines, dimensions to lines and text, and arrays or MLEADERs to constituents. Consequences:

  • Polyline width and curve fitting are lost.
  • Blocks lose their definition link; edits no longer propagate to other insertions. For blocks, prefer BEDIT or REFEDIT to change the definition; explode only when you truly want loose geometry. Blocks inserted with "Allow exploding" off cannot be exploded.
  • Dimensions exploded become dumb lines and text that no longer update.

Explode is the opposite of JOIN in many cases: polylines and lines. Use Ctrl+Z immediately if the explosion was a mistake.

  • OVERKILL: removes duplicate and overlapping objects (and optionally joins collinear ones).
  • FLATTEN: sets all Z values to 0 in drawings from 3D sources.
  • PURGE: removes unused styles, layers and blocks (not geometry).

Stand-in: how STRETCH decides what moves

This model applies a crossing window to lines. For each endpoint, if it falls inside the window, it moves by the displacement; otherwise it stays. A line with both ends inside simply moves.

Python Stand-in: STRETCH with a crossing window

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The right wall moved 500 to the right, and the bottom and top walls became 4500 long. The left wall is unchanged.

Stand-in: JOIN and BREAK AT POINT

Python Stand-in: JOIN collinear segments and BREAK at a point

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Notice how JOIN swallowed the gap between 40 and 60, a real AutoCAD behaviour for collinear lines.

Choosing the right tool

Goal Use
Make a room longer, keeping walls attached STRETCH
Add exactly 100 to the end of a line LENGTHEN, DElta
Cut an opening or remove part of a line BREAK or TRIM
Split but keep both parts BREAK at point
Make several segments one object JOIN
Edit pieces of a polyline or block EXPLODE (careful)

Common mistakes

  • Using a window (left-to-right) with STRETCH, which moves whole objects instead of stretching ends.
  • Expecting STRETCH to resize a circle.
  • Exploding a block and then wondering why it no longer updates everywhere.
  • Using BREAK when the first break point was not where you wanted (it used your pick point).

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which selection should you use with STRETCH?

    STRETCH moves endpoints inside the crossing window and leaves outside ends fixed.
  2. 2. What does Break at Point do?

    It creates two objects that meet at the point.
  3. 3. Exploding a polyline results in:

    EXPLODE splits it into simple objects and drops polyline width.
  4. 4. Which command adds exactly 100 units to the end of a line?

    LENGTHEN with the DElta option changes length by a set amount.

Summary

  • STRETCH needs a crossing window; ends inside move, ends outside stay.
  • LENGTHEN changes open objects by delta, percent, total or dynamically.
  • BREAK removes a segment; Break at Point only splits.
  • JOIN merges collinear or touching objects; EXPLODE breaks compound objects down and loses information.

Next: Grips, Properties and Match