Can the following operations be achieved

This is my test maxscript
vmats = getClassInstances VRaymtl
for v in vmats do(v.texmap_reflection = copy v.texmap_diffuse)
Forum topic · General Scripting
By xueleihan · 2021-10-31
Can the following operations be achieved

This is my test maxscript
vmats = getClassInstances VRaymtl
for v in vmats do(v.texmap_reflection = copy v.texmap_diffuse)
Check This
obaida · 2021-11-20
(
local vmats = getClassInstances VRaymtl
for v in vmats where classof v.texmap_diffuse == VRayNormalMap and v.texmap_diffuse.normal_map != undefined do (
v.texmap_reflection = copy v.texmap_diffuse.normal_map
)
)