|
Hey forum,
I’m trying to write a script that, for each shot imported, it checks the first and life frames time, with the last shots. So if a shot is frames 145-256, and the shot after is like 123-200, I want it to check something like
if start_new > start_old
start_old = start_new
so after every file is done, it will have the min and max of the whole shot.
So what I need to know is how to return the value of the start and end frame values.
I wasnt sure there was a command for it, but if there inst a exact command i was gonna use something like..
lPlayer = FBPlayerControl()
lPlayer.GotoEnd()
<--- some command that finds the value of the current frame.
lPlayer.GotoStart()
<--- some command that finds the value of the current frame.
Any ideas?
*Edit*
This forum must hate me by now, Whenever I get to the point I feel like I need to post, I post and then it hits me.
lSystem = FBSystem()
new_frame = lSystem.CurrentTake.LocalTimeSpan.GetStop().GetFrame(True)
|