Page 1 of 1

Control last edit frame

Posted: Mon Jul 22, 2013 11:25 pm
by Otuama
Is there any way I can change the last edit frame with python?

Image

p.s. It seems like Chrome is having problems displaying images. You'll have to right click and open image in new tab.

Re: Control last edit frame

Posted: Wed Jul 24, 2013 8:34 am
by LuisMiguel
Hey,

you can't. There is a way to do it by python but only works when the values lower than before, cause the Last editing frame changes when you modify manually, but not when modifying by scripting and the new value is greater.

Code: Select all

minF= 0
maxF = 200
value1 = 30
scene.setMaxFrames(value1)
scene.setMinFrame(value1)
scene.setMaxFrames(maxF)
scene.setMinFrame(minF)
So, setting for instance a value1 of 30, the last editing frame will get 30, but if you try to set value1 to 60, it won't work but it should, just RealFlow won't update the field.

I'll ask to Alex.

luisM.