Sun, Feb 16, 11:59 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2025 Feb 16 10:02 pm)



Subject: Question on SetAnimated in python, key symbol in node, getting dials to show up


albertdelfosse ( ) posted Sun, 29 March 2009 at 11:41 PM · edited Fri, 20 September 2024 at 9:43 PM

Got a problem I need solved.

I know if you click on the key symbol next to a shader node input in the material room, that input is animated, and dials show up in the parameters menu. Making it possible, to lets say control the diffuse color of m4's head for example.

Now in python there is a SetAnimated command. I used the following code to animate the diffuse color of SimonG2.

scene = poser.Scene()
Fig = scene.CurrentFigure()
Act = Fig.Actor("Body")
Mat = Act.Material("Body")
St  = Mat.ShaderTree()
RootNode = St.Node(0)
RootNode.InputByInternalName("Diffuse_Color").SetAnimated(1)
 
The key symbol next to the diffuse color input is glowing ie selected. However, no dials show up in the parameters menu like they do if I were to manually click on the key, etc. Is there a way in python to get the dials to show up?

On another note, I was reading in other threads about injecting erc code, etc via a pose file. I have been trying to figure out a way to animate selected node inputs via a pose file with no luck. I want to be able to animate a input and set up how the dials show up in the parameters menu like dial names, how grouped, etc.

Thanks


Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.