View Full Version : About names in max ?!?!?
Hi i was wondering does anybody know if it's posible to check if there are any names double in your max scene.
i have this house which i have to clean up, but there are some names who are exactly the same, is there any way to check this execpt from the fact that i have to read trough a list of +/- 800 names to check if there are any doubles :D
and if there is not such a plug-in i'll try to write it :D
|
|
Dave Black
01-17-2003, 03:30 PM
I'm not aware of any tools for this task, but I do know this:
Max labels objects(internally) by a unique ID. Doubled names are not a crash inducing problem or anything...obviously something one would want to avoid, but it's not too life threatening. Of course, if you are working with alot of doubled names, a script would come in pretty handy.
Looks like you have a new project.
:D
-3DZ
:D
Originally posted by Galo
Hi i was wondering does anybody know if it's posible to check if there are any names double in your max scene.
i have this house which i have to clean up, but there are some names who are exactly the same, is there any way to check this execpt from the fact that i have to read trough a list of +/- 800 names to check if there are any doubles :D
and if there is not such a plug-in i'll try to write it :D
macroScript RenameDuplicates category:"Bobo_s Tools"
(
sel_array = $* as array
name_array = for i in sel_array collect i.name
for o = name_array.count to 1 by -1 do
(
if findItem name_array name_array[o] != o then
(
old_name = sel_array[o].name
sel_array[o].name = uniquename sel_array[o].name
format "Renamed % to %\n" old_name sel_array[o].name
)
)
)
CGTalk Moderation
01-14-2006, 05:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.