Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RENAME MULTIPLE LAYERS

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
3360 Views, 2 Replies

RENAME MULTIPLE LAYERS

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

 

 

2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

Message 3 of 3
falconbird
in reply to: Anonymous

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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost