andygraph opened this issue on Feb 10, 2014 · 55 posts
structure posted Sat, 29 March 2014 at 10:55 AM Forum Coordinator
SetAnimated is listed under Shader Node Input methods.
I think you would be better writing a toggle function. I am not entirely sure what exactly you are after, but maybe something like this would work
import poser
scene=poser.Scene()
def toggleanim(scene,framecount,toggle=False):
scene.SetFrame(0)
if toggle:
for frame in range(frames):
scene.SetFrame(frame)
else:
return False
toggleanim(scene, framecount, True)
the third value ( True ) should overwrite the default of False and therefore the animation should toggle (in this case frame by frame)
Locked Out