collect sellect all material ambient

default material only

select models → collect and collapse material → Parameter adjustment in bulk

Comments

Comment viewing options

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

rep

wow fajar
No way, was build the script for me?
Thank you very much sir!

fajar's picture

fn createVrayMat = (mymat

fn createVrayMat = 
(
mymat =VrayMtl ()
mymat.name= uniquename "myMatVray_"
mymat.diffuse = color 91 91 91
mymat.reflection_fresnel = on
mymat.reflection_lockIOR = off
mymat.reflection_ior = 2
mymat.Reflection = color 124 124 124
mymat.reflection_glossiness = 0.78
mymat.reflection_subdivs = 16
meditMaterials[1] = mymat -- to ease edit my mat setting later
mymat 
)
 
clearSelection()
themat= createVrayMat ()
for i in objects where (classof i.mat == standardMaterial) do i.mat = theMat

also you can bulk change the material in the mymat setting...see the material properties reference you want to change, in my case its vray material ...but you might want another.

Comment viewing options

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