Layer Prefix/Suffix
eplisp, the free multilingual LISP library
| The author does not allow redistribution; download the file from the author's own site. | |
… Rate this tool: | |
| Commands | PSLAYRPSLAY |
|---|---|
| Category | Layer Tools |
| Author | Lee Mac |
| Source | Lee Mac Programming |
| License | Author's terms of use |
| Version | 1.1 |
| Requirements | AutoCAD (full version) or AutoCAD LT 2024 and later; the author lists it as working on AutoCAD for Mac |
| Prompt language | English |
| Added | 2026-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
- Download the .lsp file from the author's page and load it into AutoCAD with APPLOAD.
- Type PSLAY to add or RPSLAY to remove.
- Enter the prefix and/or suffix.
- 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
- Lee Mac Programming (author's page) – https://www.lee-mac.com/pslay.html
- Author: Lee Mac – https://www.lee-mac.com/
- 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