std-tbl-rename | ![]() |
STD-TBL-RENAME tries to rename a symbol table name.
Returns T on success or nil to be able to print user prompts as below on failure or success.
(std-tbl-rename "LAYER" "WALL" "WALL-01") or: (if (std-tbl-rename "LAYER" "WALL" "WALL-01")
(princ "Layer WALL renamed to WALL-01\n"))
tbl: string which must be a valid symbol table, see std-tbl-p
old, new: strings which must be valid symbol table names
T or Nil.
It may call the AutoCAD command RENAME.
(std-require 'STDTBL)
Defined in STDTBL