eplisp

AutoCAD Directional Stretch LISP: Left, Right, Up, Down

eplisp, the free multilingual LISP library

Directional Stretch
Written by eplisp; available in English and Turkish.
…
Rate this tool:
CommandsSTRETCHLSTRETCHRSTRETCHUSTRETCHD
CategoryDrawing and Editing
Authoreplisp
LicenseFree (eplisp)
Version2.0.0
RequirementsAutoCAD, GstarCAD
Prompt languageEnglish / Turkish
Filesstretchdir.lsp (16 KB)
Download

Stretches a crossing-window selection left, right, up or down by a set distance.

This AutoCAD directional stretch LISP adds four commands that tie AutoCAD's STRETCH to a fixed direction: STRETCHL stretches left, STRETCHR right, STRETCHU up and STRETCHD down. Run one, enter the distance, and pick a crossing window around the part to stretch.

Commands: STRETCHL STRETCHR STRETCHU STRETCHD

Load the downloaded .lsp file with the APPLOAD command in AutoCAD or GstarCAD, then type the command name. How to load a LISP file

Download all eplisp tools in one file (138 KB)

Overview

With plain STRETCH you select objects and then give a base point and a second point or displacement. Here the direction comes from the command name, and the distance is entered once and remembered for the session. Widening a room by 2 feet or shifting part of a sheet down becomes a few clicks.

It behaves exactly like STRETCH: objects entirely inside the window move, and lines and polylines that cross the window have only their vertices inside the window moved. Directions follow the X and Y axes of the current UCS.

How to use it

  1. Load stretchdir.lsp with APPLOAD.
  2. Type STRETCHL, STRETCHR, STRETCHU or STRETCHD depending on the direction.
  3. Enter the distance, or press Enter to accept the last value shown in brackets.
  4. Pick the first corner of the crossing window.
  5. Pick the opposite corner; the part inside the window is stretched in that direction.

Notes and tips

  • Selection is always a crossing window; you can't pick individual objects.
  • As with STRETCH, blocks, text and circles don't stretch; they move if their insertion or center point is inside the window.
  • The distance is shared by all four commands; the default is 10.
  • In a rotated UCS, directions follow the UCS axes.

Frequently asked questions

How do I stretch part of a drawing by an exact distance in AutoCAD?

Run the command for the direction you need, for example STRETCHR to stretch right. Enter the distance and pick a crossing window around the area.

How is this different from STRETCH?

The result is the same; the workflow is shorter. There is no base point or second point to pick, the direction comes from the command, and the distance is remembered for next time.

Why are there four separate commands?

Each direction has its own command, so you can assign your own aliases to them and never answer an extra prompt to choose a direction.

Found a mistake, or are you the author of this tool? Request a correction or removal