Control last edit frame

Post Reply
User avatar
Otuama
Posts: 162
Joined: Sun Jun 27, 2010 2:29 pm

Control last edit frame

Post by Otuama » Mon Jul 22, 2013 11:25 pm

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.
Otuama - Vimeo
'Strength does not come from physical capacity. It comes from an indomitable will.' - Gandhi

User avatar
LuisMiguel
Posts: 528
Joined: Fri Jun 04, 2010 2:37 pm

Re: Control last edit frame

Post by LuisMiguel » Wed Jul 24, 2013 8:34 am

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.

Post Reply