Alexey, thanks for reply.
i will try to explain what i need:
Lets say i thave 4cameras. each camera have 100 frames.i have 400frames all in one folder. For example i name my images like this: "c##_f####.jpg". "с##" - camera number, "f####" - frame number. script should be able to load only images, that belong to one frame.
1.add photos to the scene(after i picked the folder)
2.allign photos
3.generate geometry
4.generate texture
5.save file
6.export texture
7.export model to 3ds(to the same folder, with the name "m####.3ds")
So the script should be able to do this again and again with all the frames.
I hope it dooes make sense.
It will be supercool if you will help me)
Alex.