andygraph opened this issue on Feb 10, 2014 · 55 posts
structure posted Sun, 30 March 2014 at 2:59 PM Forum Coordinator
the reason nothing is changing is because the script is not moving the animation and the animation is not re-drawing.
this script will do that, but it does not account for lights and cameras.
import poser
scene = poser.Scene()
act = scene.CurrentActor()
frame = 0
for act in scene.Actors():
name = act.Name() + ' - %03d' % frame
act.SetName(name)
frame +=1
for f in range(scene.NumFrames()):
if act.Name().endswith(str(f)):
scene.SetFrame(f)
scene.SelectActor(scene.Actor(act.Name()))
act.SetVisible(1)
else:
for act in scene.Actors():
if not act.Name().endswith(str(f)):
scene.SelectActor(scene.Actor(act.Name()))
act.SetVisible(0)
scene.DrawAll()
Locked Out