Forum: Poser - OFFICIAL


Subject: Script to delete "Reflection Lite Mult and KD Mult?

Acadia opened this issue on Sep 07, 2011 · 6 posts


markschum posted Thu, 08 September 2011 at 1:21 PM

#set reflection lite multi off   import poser mats = poser.Scene().CurrentFigure().Materials() for mat in mats:     nod = mat.ShaderTree().NodeByInternalName("PoserSurface")     inp = nod.InputByInternalName("ReflectionLiteMult")     inp.SetFloat(0)     mat.ShaderTree().UpdatePreview() poser.Scene().DrawAll()

 

heres one of mine

just copy the line inp = nod...

inp.SetFloat

 

for the KD value  and you can so both in one script.