Notifications
Clear all
[Closed] On/Off shaded material in viewport for all materials
Page 3 / 3
Prev
Dec 07, 2012 4:56 pm
Using Denis’s idea, this seems to work:
(
local switch = false
for c in material.classes where c.creatable == true do
(
for mat in (getClassInstances c processAllAnimatables:true) do
(
if (isKindOf mat VRayMtlWrapper) and (mat.baseMtl != undefined) then
(
local bMat = copy mat.baseMtl
bMat.showInViewport = switch
mat.baseMtl = bMat
)
else
(
mat.showInViewport = switch
)
)
)
)
Dec 07, 2012 4:56 pm
Hi, i’ve try the last version, but it returns me this error:
unknown property: “showInViewport” in undefined
and if i try one old script version, now i’ve always the same error, why?
Dec 07, 2012 4:56 pm
Would you mind posting the rest of the error message from the listener. I can’t replicate it here.
Dec 07, 2012 4:56 pm
Hi to all, I left out a bit this thread because I haven’t had time to make test.
But in the upcoming version of 3dsmax Design 2014 seems there is an option for control the quality of texture maps with nitrous…
I’ll wait to see solve my problems with the new controls …
Thanks for the support, I keep you informed!
Page 3 / 3
Prev