Guys and Girls,
can you please share some thought about this weird message i keep getting on this script:
-----------------------
-- Script to reset bump value to 1 for all fR-Architectural materials that are over 1
(
local arrayOfMaterials = getClassInstances fR_Architectural
for eachMaterial in arrayOfMaterials where (eachMaterial.bump_map_amount > 1.0) do
(
eachMaterial.bump_map_amount = 1.0
) -- End for
) -- End scope
-----------------------
Friend of mine created this code to reset all bump values to 1, if these are bigger than 1, but i can't get it to work at all - please check that error in attachment.
What's even more strange, he told me that it works perfectly on his machine, but on my computer i get this error every single time in Max 2012 x64.
What could be the problem here?
Thank you so much for your help
