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

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
Yuriy Levchenko
Posts: 2
Joined: December 29th, 2011, 8:23 am

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?
User avatar
lloydalvarez
Enhancement master
Posts: 460
Joined: June 17th, 2004, 9:27 am
Location: New York City, NY
Contact:

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
Yuriy Levchenko
Posts: 2
Joined: December 29th, 2011, 8:23 am

I've made that exactly like that, but I was hesitating if this is correct and thought there was another way...
Post Reply