Forum: Poser Python Scripting


Subject: Scripted Shader Node Animation

Iuvenis_Scriptor opened this issue on May 08, 2022 ยท 19 posts


structure posted Thu, 02 June 2022 at 12:06 PM Forum Coordinator

One of the Devs provided the following script 

import poser
scene = poser.Scene()
f = scene.Figures()[0]
m = f.Materials()[0]
st = m.ShaderTree()
n = st.Nodes()[0]
for i in n.Inputs():
    if i.CanBeAnimated():
        i.SetAnimated(1)


which does work



Locked Out