Interactive Universal Renamer

14 votes
Date Updated: 
12/28/2013

NEW VERSION: Asset Paths + Sorting + Filtering + Multiselection

Make sure to select items in the list to see the renaming preview and do the actual renaming!

I guess every person dealing with rigging and MAXScript has to write a renaming script once in his life. I have tested at least half a dozen existing ones before I wrote my own. A key thing that is different from other similar scripts is the ability to see your name changes instantly while you type, giving it an interactive "text editor" feeling. A useful tool for maintaining name conventions in a complex Rig or scene, as well as quick file renaming, e.g. for numbering image sequences for import to Adobe Flash etc. Hope you like it!

28/12/13:   Rewritten again to better separate model and functionality. New features include: Asset Paths can be renamed, Names can be filtered and sorted, only selected items in the list are renamed.

25/01/13: Replaced the edittext field with a dotNet textbox with autocompletion (thanks to Nick Moutafis)

19/01/13: Now finds all materials in scene and nested materials on selected objects, Shows No. of items in list, remembers last file path, fancy header image, Supported nested material types atm: Multimaterial, Blend, Shell, Compositematerial, Shellac, DoubleSided, VRay2SidedMtl, VRayBlendMtl, VRayMtlWrapper, VRayOverrideMtl

18/01/13: Rewrote almost everything, dumped most custom GUI elements, too much hassle when things change, Added layers and materials, added scene/selection option for objects and materials, Added quick single renaming tool by doubleclicking an item in the list, Now only renames when name changed

23/09/12: GUI stuff, MZP installer 20/09/12: Some bug fixes, implemented s&r "All occurences" option  

Installation is easy: Just drag & drop the .mzp onto your 3ds Max viewport (or use MAXScript -> Run Script) and add the macro script (category: Buelter) to a menu/toolbar/quadmenu/shortcut afterwards.Cheers

Comments

Comment viewing options

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

Corona Material Support?

Corona Material Support? Would be greatly appreciated. Thanks.

 

Scrap that. it works.. Silly me needed to select scene radio button..

jpjapers's picture

This script seems to crash

This script seems to crash max on files with a large amount of textures and if it does unfreeze it actually hasnt renamed any of the paths (in asset mode).
Im on max 2014 and it has worked for small scenes but sometimes even they dont actually rename.
Any ideas?
Thanks

kesarashish's picture

bitmap renamer

i want something which reduces the length of the bitmap name automatically.... please do reply soon

br0t's picture

Hey thanks for pointing that

Hey thanks for pointing that out, I fixed the typo and uploaded the new version.

Never get low & slow & out of ideas

rachka's picture

hm

When attempting to rename materials in the scene this shows up:

MAXScript Rollout Handler Exception
--Unknown property: "coatmtl" in undefined

VRayBlendMtl :
(
getNestedMaterialsRecursive theMat.baseMtl arr
for m in a.coatMtl do
getNestedMaterialsRecursive m arr
)

rachka's picture

hm

When attempting to rename materials in the scene this shows up:

MAXScript Rollout Handler Exception
--Unknown property: "coatmtl" in undefined

VRayBlendMtl :
(
getNestedMaterialsRecursive theMat.baseMtl arr
for m in a.coatMtl do
getNestedMaterialsRecursive m arr
)

br0t's picture

---

---

Never get low & slow & out of ideas

br0t's picture

The script is not meant for

The script is not meant for relinking anything, just for batch renaming many objects/layers/etc. You can do sort of a relink by renaming both files and asset paths, but there are other and better scripts for that already.

Never get low & slow & out of ideas

themaxxer's picture

nice script but when you

nice script but when you rename files (maps) they aren't reassigned again, so you loose the link to them, is this useful? if the script would relink the maps after renaming, then it's very powerful. or do I miss something?

thanks for your effort.

best regards
themaxxer

barigazy's picture

...

Similar .net version
Also works on hidden and readonly files

http://www.scriptspot.com/forums/3ds-max/scripts-wanted/rename-bitmaps-f...

barigazy

Comment viewing options

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