Scale Each Block at Its Own Base Point
eplisp, the free multilingual LISP library
| Openly licensed; the original file is hosted here together with its license. | |
… Rate this tool: | |
| Commands | BLOCKSCALE |
|---|---|
| Category | Block Tools |
| Author | Lance A. Endres |
| Source | lendres/CAD-Support-Files |
| License | MIT |
| Requirements | AutoCAD, AutoCAD LT 2024 or later, BricsCAD; does not use ActiveX. |
| Prompt language | English |
| Files | blockscale.lsp (1 KB) |
| Added | 2026-10-26 |
| Download the original fileSource repository | |
BLOCKSCALE scales each selected block, TEXT and MTEXT about its own insertion point by one factor, instead of about one common base point as SCALE does.
BLOCKSCALE is a short AutoLISP routine from Lance A. Endres's CAD support files. AutoCAD's SCALE command scales the whole selection about one base point, so symbols or texts spread over a drawing all move when scaled. BLOCKSCALE leaves each object in place and changes only its size.
Overview
You make a general selection, which is then filtered to INSERT, TEXT and MTEXT objects. The scale factor prompt repeats until a positive value is entered. The SCALE command is then run separately for each object, using the object's DXF 10 point (its insertion point) as the base. The whole operation is wrapped in a single UNDO group.
How to use it
- Load blockscale.lsp with APPLOAD.
- Type BLOCKSCALE at the command line.
- Select the blocks and texts to scale and press Enter.
- Enter the scale factor (e.g. 2 to enlarge, 0.5 to shrink).
Notes and limitations
- Pressing Enter at the scale prompt without a value causes an error; type a number or press ESC.
- For centered or right-justified TEXT the DXF 10 point is not the justification point, so such text may shift slightly when scaled.
- Other objects in the selection, such as lines and polylines, are silently left out.
- A single UNDO reverses the whole change.
- License: the repository's License.txt is MIT; the file header holds only a copyright line.
Source and license
This tool is not made by eplisp. The file is published unchanged under its author's license; copyright stays with the author.
- blockscale.lsp (1 KB)
- License text
References
- Source repository: lendres/CAD-Support-Files – https://github.com/lendres/CAD-Support-Files/tree/b8303392c64a33077e883f51db54c00f3a710a5a/Support
- Author: Lance A. Endres – https://github.com/lendres
- License: MIT – https://github.com/lendres/CAD-Support-Files/blob/b8303392c64a33077e883f51db54c00f3a710a5a/License.txt
Found a mistake, or are you the author of this tool? Request a correction or removal