Hi,
I want to rename two lyr names in autocad, for eg i have a layer called as 21-tree and 22-treeData. Then i want to rename it to treeBase and treeCandidate respectively.
Can anyone share a lisp routine or a lisp command to achieve this ?
I want user to run this command then select layer which will be renamed as "treeBase" and select another layer and the lisp will rename this to treeData.
Any lisp please share.
Regards
Dunno if it can help you out, saw the post a month ago
http://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/rename-multiple-layers/td-p/1290587
Try this. In the rename dialog box in the old name box, type 21-*. Once you click in the new name box all your layers are highlighted that have 21- in front of the layer name. In the new name box, type *base. If this works do the same with all your layers that have 22- in front of the layer name. The * is a wildcard. good luck.