Append Prefix, Suffix (PSFX)
eplisp, the free multilingual LISP library
| Openly licensed; the original file is hosted here together with its license. | |
… Rate this tool: | |
| Commands | PSFX |
|---|---|
| Category | Text Tools |
| Author | BGol Community |
| Source | thevijayparmar/bgol-cad-lisps |
| License | MIT |
| Requirements | AutoCAD (full version; uses ActiveX, so not AutoCAD LT), BricsCAD |
| Prompt language | English |
| Files | PSAP-bgol.lsp (4 KB) |
| Added | 2026-10-26 |
| Download the original fileSource repository | |
PSFX adds the same prefix and/or suffix to every selected single-line text in one pass, handy for labeling levels or adding units to values.
PSFX is a text editing tool that adds the same prefix or suffix to many TEXT objects at once. Typical uses are putting "GL: " in front of level labels or " m" after numeric values without opening and editing each text separately.
Overview
The command asks for the prefix and then the suffix; either may be left empty. Each selected text is then changed to prefix + original content + suffix. As an audit mark, a POINT object is placed slightly above every edited text on the layer BGOL-PSFX.
How to use it
- Load PSAP-bgol.lsp with APPLOAD.
- Type PSFX at the command line.
- Enter the prefix, or press Enter for none.
- Enter the suffix, or press Enter for none.
- Select the texts to update and press Enter.
Notes and limitations
- Changes the content of the selected texts directly; use U to undo.
- Creates the layer BGOL-PSFX if missing and adds a POINT object above each text; clear that layer afterwards if you do not want the marks.
- Only TEXT objects are selected; MTEXT and block attributes are not changed.
- The repository is new (2026); try it on a copy of the drawing first.
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.
- PSAP-bgol.lsp (4 KB)
- License text
References
- Source repository: thevijayparmar/bgol-cad-lisps – https://github.com/thevijayparmar/bgol-cad-lisps
- Author: BGol Community – https://bgol.in/
- License: MIT – https://github.com/thevijayparmar/bgol-cad-lisps/blob/3acbe32f71b489f4c81dcd9372f989591a9be858/LICENSE
Found a mistake, or are you the author of this tool? Request a correction or removal