ScriptSpot

Script

WhatsMyName

By grabjacket · 2012-02-19

Version
7
Version requirement
2010-2015
Date updated
2014-07-18
Votes
7
Download
Download
Description

WhatsMyName renames objects by picking a name from a list. You can create these lists (dictionaries) yourself and share them with teammembers.

You can create your own dictionaries and edit them. Assign new words, assign colors and more options are available. Check out the blog for more info and tutorials.


Updated v007:

  • minor bugfixes
  • compatible max 2013 and up

Updated v006:

  • improved compatibility with max 2011 and max 2010
  • some gui improvements
  • helped by Branko Živković

Updated v005:

  • studio setup: centralize your library for use with multiple people
  • capture words from the current scene: drag&drop objectnames in the scene directly into your library
  • gui: find the word you need from the list by typing the first few characters

Updated v004:

  • dialog remembers location
  • multiple libraries supported
  • drag drop to manage words
  • improved gui
  • multi-word input

Additional Info

Install the script by dragging the mzp-file into your viewport, or by running it from the maxscript menu. After that you can link the script to a keyboard shortcut or by creating a button on a toolbar. You can find the script under the "Klaas tools" category.

Tags: rename, list, Scene Management, dictionary, rename objects, whatsmyname

Comments (17)

Perfect

3dwannab · 2015-01-20

Thanks for this tool. Is is possible to incorporate an autostart function?

barigazy · 2012-02-29

Instead of using devX checkedListBox object, perhaps you should
use devX PopupContainerControl with devX CheckEdit.
These two are compatibile with max2011, but for version 2010 i'm
not sure.Can you give me your email, i want to send a little
test.

your first challenge "Build a Better Tool"

barigazy · 2012-02-29

As you already said that was your first challenge
--CgTalk Maxscript Challenge 020: "Build a Better Tool"
http://forums.cgsociety.org/archive/index.php/t-645653.html
Yes, you were right.You must first delete old version and then
instal new one. Now it's work.You need a uninstaller.
Probably has a better solution than this, but here's one snippet:
(
local SIODir = dotNetClass "System.IO.Directory"
local KlaasDir = (GetDir #userScripts) + "\KlaasTools"
fn deleteKlaasDir = ( if (SIODir.Exists KlaasDir) do try ( setFileAttribute KlaasDir #readOnly false ; SIODir.Delete KlaasDir true ) catch() )
deleteKlaasDir()
)

barigazy · 2012-02-28

Thanks for the credit, Klaas.It was only a small contribution from my side, for nice script.
In max2011, many "DevExpress" objects are not supported.
The max2011 users can use the version of the CGTalk challenge with |?| in naming text field.
And as for version 2012, WMN v5 is brocken. Maybe because i just override previous version. I try tomorrow to cleanup v4.
Functions should be related to selection of a set of object, such as selections of several trees, or cars, etc.
When press on list name then every single tree gets a unique name,then stored in a layer with the list name, and if they remain some empty layers, will be deleted.This should be an check option.I hope you now understand the purpose of the function.

grabjacket · 2012-02-29

Branko,
could you point me to that cgtalk challenge? I can't find it.
I'm considering to skip the list-boxes altogether and replace them with treelists. Maybe a bit more work, but has more potential.

grabjacket · 2012-02-29

Branko,
could you point me to that cgtalk challenge? I can't find it.
I'm considering to skip the list-boxes altogether and replace them with treelists. Maybe a bit more work, but has more potential.

barigazy · 2012-02-28

Fantastic script man, very practical and usefull in any aspect.
WMN v4 works perfectly, but WMN v5 throw error.
I am sending you small *.txt with this error message and
small addition for GUI file.

Attachments

Thanks for the feedback

grabjacket · 2012-02-28

Hey Branko,
thanks for the feedback. Your gui-suggestions are really great. I'll take a good look at them and credit you for it!
The max2011-error I can't reproduce. I don't have max2011 installed. I think I'll just take it of my compatibility-list. Thanks for the heads-up.

The main error you're reporting I can't reproduce either. I see this happens when you first run the script. Is that correct? Are you able to run the script after the error occurs, or is it just broken?
You could try to get rid of any files related to any release of this script and re-install v005 after that. Maybe there's some old file in the way. It's possible there's an old preferences file still present. You could go to this location: "C:\Users\CodeBox\AppData\Local\Autodesk\3dsMax\2012 - 64bit\enu\scripts\KlaasTools\WMN\Xml", delete the preferences file and re-run the script.
I'll take care of such cleanup in the next version.

The RenameAndStoreInLayer-method is a great suggestion. This means that everytime you rename objects, these objects are stored in a layer with the same name, right? Wouldn't this result in a huge amount of layers in your scene? It could be added as an option though.

suggestion

jsrocha · 2012-02-22

Hi Klaas, very useful script, thanks. I have a suggestion to improve it:
is it possible to make a filter to the names? i mean, the script needs a field where the user can type the name he is looking for, and as he types, the script starts to filter the names. Example, the user starts to type "w" and the list below filters only the names that starts with "w", and as the user types the word the filter gets more accurate. This is very useful when you have a large amount of words (i do :)
There´s a script by Alexander Kramer called "quick select and rename" that have this filter i´m talking about. If you want to take a look, heres the website (is in a pack with a lot of other good scripts):

http://3d-kstudio.com/3ds-max-plugins-scripts/trackscripts/

That´s it man, thanks a lot for your attention and for the script ;)
cheers,

Jsrocha

grabjacket · 2012-02-22

Hello Jsrocha,
thanks for the kind remarks and for the suggestion. The next update will support behavior similar to what you've described along with some other neat new features.

Thank you for this great script!

igamaximus · 2012-02-24

Can you please expand possibilities much by adding the same approach to layers also, beside object names? Many people work with fully layered max scenes and layer names can be even more important to them than object names i suppose. Maybe if this possibility could be "connected" somehow with create layer from selected object dialog, that would be amazing, or any other fast method.

Thanks again.

grabjacket · 2012-02-25

Hi igamaximus,

that's a great idea. It hadn't occurred to me!
It could be added by either renaming the current layer, or by creating new layers with the selected word. Or both of course. Do you have a suggestion as to how you'd like this implemented?
I'll try to add it to the next release or the one after that.
Klaas

Klaas, thanks for your answer

igamaximus · 2012-02-26

I've thought about possible workflow and after all i think that premade layers with common names in our custom max scene would be equally good solution. So there's no actual need for layer feature and you can concentrate on object names and make your great script more compact. In fact, by combining this approach with your script, we could completely avoid "dactilography" in 3ds max.

Regards

grabjacket · 2012-02-26

igamaximus,

it's indeed hard to keep a good focus on the functionality of the script. I shouldn't add stuff just because it's possible.
I'll keep your first suggestion in mind, but for the moment your approach sounds sensible: keep object- and layerrenaming separate.

Great idea!

Script_Butler · 2012-02-21

Well done.

NikkoN · 2012-02-20

Thanks. And it is possible to make so that the script window memorize the position on the screen?

grabjacket · 2012-02-20

Sure, that's a good suggestion. I'm storing preferences already, so storing position shouldn't be very hard. I'm also considering docking it. Though I can't imagine this would be the most useful script to have docked and opened all the time!
Klaas