eplisp

Rename Layouts from Title Block Attributes

eplisp, the free multilingual LISP library

Rename Layouts from Title Block Attributes
Openly licensed; the original file is hosted here together with its license.
…
Rate this tool:
CommandsUPDATELAYOUTS
CategoryPlotting
AuthorTommy Lee
Sourcetommylee0923/autocad-update-layout-name
LicenseMIT
Version0.3.0
Updated2025-09-20
RequirementsAutoCAD (full version, not LT), BricsCAD; no Express Tools needed.
Prompt languageEnglish
FilesUpdateLayouts.lsp (10 KB)
Added2026-10-26
Download the original fileSource repository

UPDATELAYOUTS renames each layout tab to the sheet number and title read from attributes of the title block placed on that layout, for one or all layouts.

UPDATELAYOUTS, written by Tommy Lee, keeps layout tab names in step with the title block. In multi-sheet projects, typing layout names by hand takes time and leads to mismatches with the title block; this tool builds the names straight from title block attributes.

Overview

Three settings sit at the top of the file: the title block name (*TB_BLOCK_NAME*), the sheet number attribute tag (*SHEET_TAG*) and the list of title line tags (*TITLE_TAGS*). When run, the command lets you choose the current layout or all layouts. On each layout it finds the first block with that name (dynamic blocks included), joins 'sheet number + title lines' into a new name and applies it. If another layout already has that name, or the name is invalid, the layout is skipped and a message is shown.

How to use it

  1. Open UpdateLayouts.lsp in a text editor and set *TB_BLOCK_NAME*, *SHEET_TAG* and *TITLE_TAGS* to match your title block.
  2. Load the file with APPLOAD.
  3. Type UPDATELAYOUTS at the command line.
  4. Choose All for every layout or Current for the active one (default All).

Notes and limitations

  • You must edit the block and tag names in the file before use; the defaults are placeholders and will not match your title block.
  • Names containing characters not allowed in layout names (< > / \ " : ; ? * | , = `) cannot be applied; an error message is shown for that layout.
  • One title block per layout is assumed; if there are several, the first one found is used.
  • With All, the Model tab is also scanned and may print a harmless 'could not find' message.
  • Loading the file defines global variables and global helper functions such as _trim and _compare, which may clash with other LISP files using the same names.
  • License: the repository's LICENSE file is MIT.

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: tommylee0923/autocad-update-layout-name – https://github.com/tommylee0923/autocad-update-layout-name/tree/1643ea74d986a4f0e15c75256d785d9030139661/src
  2. Author: Tommy Lee – https://github.com/tommylee0923
  3. License: MIT – https://github.com/tommylee0923/autocad-update-layout-name/blob/1643ea74d986a4f0e15c75256d785d9030139661/LICENSE

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