timarender opened this issue on Mar 28, 2012 · 4 posts
timarender posted Wed, 28 March 2012 at 10:00 AM
If I run a script which involves many "SerValues", the running time is alot longer if the 'animation window' is open.
Is there any way (using Script) to temporarily disable the 'animation window' whilst the python script runs?
For example, this completes almost instantly when the window is closed:
import poser
scene = poser.Scene()
actor = scene.CurrentActor()
for n in range(1,100):
scene.SetFrame(n)
parm = actor.ParameterByCode(poser.kParmCodeXTRAN)
parm.SetValue(n)
print "done"
scene.DrawAll()