# set AO mode checkbox ON # import poser figs = poser.Scene().Figures() for fig in figs: mats = fig.Materials() for mat in mats: tree = mat.ShaderTree() nods = tree.Nodes() for nod in nods: if nod.Name() == "Ambiant_Occlusion": # check node name #nod.Input(5).SetFloat(1) # check input number this and next line print fig.Name(),mat.Name(),nod.Name(),nod.Input(5).Value() print "Done"