eplisp

Append Prefix, Suffix (PSFX)

eplisp, the free multilingual LISP library

Append Prefix, Suffix (PSFX)
Openly licensed; the original file is hosted here together with its license.
…
Rate this tool:
CommandsPSFX
CategoryText Tools
AuthorBGol Community
Sourcethevijayparmar/bgol-cad-lisps
LicenseMIT
RequirementsAutoCAD (full version; uses ActiveX, so not AutoCAD LT), BricsCAD
Prompt languageEnglish
FilesPSAP-bgol.lsp (4 KB)
Added2026-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

  1. Load PSAP-bgol.lsp with APPLOAD.
  2. Type PSFX at the command line.
  3. Enter the prefix, or press Enter for none.
  4. Enter the suffix, or press Enter for none.
  5. 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.

References

  1. Source repository: thevijayparmar/bgol-cad-lisps – https://github.com/thevijayparmar/bgol-cad-lisps
  2. Author: BGol Community – https://bgol.in/
  3. 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