Forum: Poser Python Scripting


Subject: Changing Alternate_Diffuse value

papillon68 opened this issue on Nov 19, 2010 · 24 posts


papillon68 posted Fri, 19 November 2010 at 12:19 PM

Well, I managed to solve it like this:

    actor = (scene.Actor("hutRoofLP_19"))       
    mat = actor.Materials()[0]
    # find the material's shader tree and its root
    tree = mat.ShaderTree()
    root = tree.Node(0)
    diffCol = root.Input(18) # <<< this is the Alternate_Diffuse
    diffCol.SetColor(1,0,0)

visit my blog:  www.alessandromastronardi.com

My Rendo Store