Forum: Poser - OFFICIAL


Subject: pro 2010 Python problem..

cortic opened this issue on Jul 30, 2011 · 18 posts


millighost posted Sat, 30 July 2011 at 9:02 AM

Quote - Hi all,

          A while ago, can't find the thread now, i got some help adding a very simple Python script to jump frames while animating, went like this:

import poser
scene=poser.Scene()
scene.SetFrame(scene.Frame() + 30)

 

Worked fine in Poser 7, but i've finaly got myself Poser Pro 2010 and while its making the arrowhead on the time line jump, the frame number isnt changing.  Anyone know what i'm doing wrong?

 

thanks.

 It works exactly like that. Could it be that your animation is only 30 frames long? In which case the last frame is numbered 29 (they start at 0), and your python would not work.

 EDIT: Ah, i see what you mean; right it does not update the counter, hm, never notices this ...