timarender opened this issue on Apr 20, 2013 · 5 posts
timarender posted Sat, 20 April 2013 at 10:01 AM
I have some Figures in a scene. I want to create Pose files (pz2) for each Figure, based on their pose at Frame 10. Then I want to load that figure's Pose file into Frame 2.
But. 'SaveLibraryPose' and 'LoadLibraryPose' only operate on the 'CurrentFigure'. Although I can itinerate through the Figures, I cannot find a way to change the 'CurrentFigure'.
I hope I am missing something obvious. I have commented out (#) some lines which I though might be related. Here is the basic code:
for actors in scene.Figures():
#a= actors.Name()
#actor = scene.CurrentFigure()
scene.SetFrame(10)
scene.SaveLibraryPose(pose1)
scene.SetFrame(2)
scene.LoadLibraryPose(pose1)