diana opened this issue on May 14, 2007 ยท 8 posts
Dizzi posted Tue, 15 May 2007 at 12:09 PM
How about making it a Wacro so that it works on one material regularly and on all if you shift click the Wacro? That should look like that:
import poser
mats = poser.Scene().WacroMaterials()
if (mats == None):
poser.DialogSimple.MessageBox( "Please select a material first.")
else:
for mat in mats:
mat.ShaderTree().Node(0).InputByInternalName("Normals_Forward").SetFloat(1)