[Closed] attibute spreadsheet for max ?
Hi everybody
Is there a way to change the same attribute of a lot materials in one time on selected objects through a table in 3dsmax, like the attribute spreadsheet in Maya ?
I need to connect the same bitmap on the same channel on all my standard materials (or selected materials) in my scene, and I have lot of materials.
Please, someone can help me with a little maxscript or a tool like Maya’a attibute spredsheet ?
Thank you
Hi wallworm
Thanks for your response !
I have tested zorb modifier. It work for RGB color changes (even if it is not very clear and a little heavy). I think this script is a good start to improve by a maxscripter.
But I want to connect/disconnect a bitmap on a lot of materials and it’s impossible with this tool.
That’s too bad. Maybe you can contact the author and he can quickly add support for maps. The limitation in it that I’d like to see is the inclusion of custom attribute parameters.
Salut Rémy,
this script is very linear, it only works for standard mats with bitmap in diffuse slot, but it might help you… hope so :
/*
For nodes in selection or in scene,
collect all standard material that have bitmaptexture in diffuse
-- option to enable diffusemap
-- option to change the bitmap map channel
-- option to change the bitmap source filename
*/
(
--objs = selection
objs = objects -- all objects in scene
mats = #()
for o in objs where (o.material!=undefined AND classof o.material == Standardmaterial AND classof o.material.diffusemap==bitmaptexture) do appendifunique mats o.material
print mats.count
for m in mats do (
format "% | % | % | %
" m.diffuseMapEnable m.diffusemap.name m.diffusemap.coords.mapChannel m.diffusemap.filename
-- m.diffuseMapEnable = true
-- m.diffusemap.coords.mapChannel = 1
-- m.diffusemap.filename = "c:\\path\ o\
ew\\bitmap.jpg"
)--end loop
)
You can choose to execute on all scene objects or only selected objs.
You have options to change some properties.
Comment, uncomment what you need.
… make a backup of your scene before !!
Hi ricozone
Sorry for my longtime answer !
Thanks a lot for your response and your work on this script.
This last days I’m working on an other project where I don’t have this problem
I’ll back on my problematic project at the end of the summer. As soon as I’ll work on it, I’m shure to try your script and send you a feedback.
Thanks again