Layer Renamer

16 votes
Version: 
0.03b
Date Updated: 
06/22/2011

Does what the title says, renames layers. Renaming is possible for single items (double-click on list item), selected items and all items in the list. The default layer 0 can't be renamed and if the user creates a situation where more than one layer will share the same name, only the first layer will get renamed. Resulting names of zero length are automatically skipped.

Additional Info: 

v0.02b:
    Added a similar editable list of predefined values for the layer list. If you now rightclick in the layer list you can pick a name and the first selected layer will get renamed to that value. This is the only feature of the script available only for max 2010+, the rest is still max 9+.

v0.02b:
    Added the possibility to swap Find and Search text fields content.
    Added "..." buttons next to the text fields. They allow the user to save and enter some frequently used values for the individual text fileds (see "Layer" in the following picture).

v0.01b:
  Initial release.

Version Requirement: 
3ds Max 9, VIZ 2008
AttachmentSize
layer_renamer.ms16.58 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
barigazy's picture

Very nice rename tool,

Very nice rename tool, Swordslayer.
Thanks.

barigazy

tilence's picture

Terrific

Thanks for posting this script, it helped me out a bunch.

igamaximus's picture

Great idea mate

I was thinking about same function few weeks ago, it is really helpful.
Thanks!

Swordslayer's picture

Good idea

I've now added the possibility to configure frequently used values for the textfields (... > Configure...), so you can have Layer" and similar items predefined for the Find textbox and "Home" and others for the replace textbox (it works in Base Name, Prefix and Suffix textboxes as well).

If you want to get the name of the current layer, I'd suggest doubleclicking it and copying the desired part.

Swordslayer's picture

Rename Single Layer

Hi, to rename a single layer, just double-click it in the list. As for the swapping suggestion, that's a nice idea, thanks for that, I'll add it ASAP together with the other suggestions.

edit: swap action is now under the "…" button next to Find and Replace textboxes.

ibm's picture

I'm sorry for my bad language :/

There is an idea, add a list of common names for the layers.
Example:
road
home
tree

With the ability to add and edit names.
selected layer (Layer01) and replaced with the desired (Home).

tassel's picture

I like this one, similar to

I like this one, similar to the rename objects dialog. Keep up the good work :D

Raymond H.Ingebretsen - http://www.homme3d.com

br0t's picture

Neat!

Neat! But if I just want to rename a single layer, it should not be necessary to use the numbering so that the rename button is not greyed out. And personally I like to have a small "swap" button for a search&replace, so that I can fix any renaming done by it very quickly, if I accidently mistyped something.

Never get low & slow & out of ideas

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.