Page 1 of 1

FootageItem (Sequence): how to get pointers to all the files

Posted: December 30th, 2011, 4:27 am
by Yuriy Levchenko
I've got the following question:
Footage Luza_[00000-00027].png having the FootageItem type has got the "file" attribute that points to the first file in the sequence.
The question is how to get pointers to the rest of the files?

Re: FootageItem (Sequence): how to get pointers to all the f

Posted: December 30th, 2011, 7:43 am
by lloydalvarez
You have to figure it out on your own. There is no api hook to do it for you unfortunately. However it's pretty simple, right? If you know the first file and you know they are sequential and you know the frame range then you can figure out what the filename is for any of the files in the sequence.

-Lloyd

Re: FootageItem (Sequence): how to get pointers to all the f

Posted: December 30th, 2011, 8:31 am
by Yuriy Levchenko
I've made that exactly like that, but I was hesitating if this is correct and thought there was another way...