eplisp

Layer Prefix/Suffix

eplisp, the free multilingual LISP library

Layer Prefix/Suffix
The author does not allow redistribution; download the file from the author's own site.
…
Rate this tool:
CommandsPSLAYRPSLAY
CategoryLayer Tools
AuthorLee Mac
SourceLee Mac Programming
LicenseAuthor's terms of use
Version1.1
RequirementsAutoCAD (full version) or AutoCAD LT 2024 and later; the author lists it as working on AutoCAD for Mac
Prompt languageEnglish
Added2026-10-26
Go to the author's page ↗

Adds a prefix or suffix to the names of the layers used by selected objects (PSLAY), or removes one from them (RPSLAY).

Layer Prefix/Suffix is a small Lee Mac AutoLISP program that renames layers in bulk. It can mark the layers of a drawing received from another discipline or bring layer names in line with a project code.

Overview

PSLAY asks for a prefix and/or suffix, then for a selection, and renames the layers of the selected objects; layers that cannot be renamed are reported. RPSLAY works the same way but strips the given prefix and suffix from the layer names.

How to use it

  1. Download the .lsp file from the author's page and load it into AutoCAD with APPLOAD.
  2. Type PSLAY to add or RPSLAY to remove.
  3. Enter the prefix and/or suffix.
  4. Select objects on the layers to rename.

Notes and limitations

  • It renames layers permanently; whole layers are affected, not just the selected objects.

Source and license

This tool is not made by eplisp. The description on this page is written by us; get the file and its latest version from the author's page.

The author allows free use for yourself or within your organization; redistribution needs written consent, so we only link to the author's page.

References

  1. Lee Mac Programming (author's page) – https://www.lee-mac.com/pslay.html
  2. Author: Lee Mac – https://www.lee-mac.com/
  3. License: Author's terms of use – https://www.lee-mac.com/terms.html

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