[Closed] Slate material editor – change properties of selected nodes
Hi all,
I had a quick question and would appreciate any advice!
This is what I am trying to do:
Select 40 bitmap nodes in slate material editor.
Set their blur to 0.01
Set the filtering to “none”.
i have the maxscript from the listener:
.texmap_opacity.coords.blur = 0.01
.texmap_opacity.filtering = 2
I have no idea how to run this for all 40 bitmap nodes I have selected!
would love anyone’s help!
I have tried searching the forum and found this thread on scriptspot:
http://www.scriptspot.com/forums/3ds-max/scripts-wanted/change-map-type
I am very in-experienced with maxscript and cannot work it out.
Thanks for reading!
I don’t think there’s a way to get the bitmap associated with a Slate Material Editor node. (At least not an obvious one.)
If you want to do all the textures in the scene you can do the following:
(
mapped fn adjustMaps map =
(
map.coords.blur = 0.01
map.filtering = 2
)
adjustMaps (getclassinstances bitmaptex)
)
Hey Juan,
Thanks heaps. Really appreciated. I will exported all selected materials to a blank scene to apply that maxscript. A big time saver already.
Thanks for the help!