stigatle
11-27-2010, 04:12 PM
So, I've got a script that outputs one file per frame (mesh data).
then problem I've got is the following:
I want the filename to be like this:
filename_0000.ext
filename_0001.ext
filename_0002.ext
etc.
But I've got trouble making it work like that.
All i have now is hardcoded 0's, so when it comes to 10 it looks like this:
filename_00010.ext
instead of:
filename_0010.ext
This causes trouble for me after rendering, because 3dsmax
does not see the files as a sequence.
How can one easily add this type of counting to file output in maxscript?
thanks in advance.
then problem I've got is the following:
I want the filename to be like this:
filename_0000.ext
filename_0001.ext
filename_0002.ext
etc.
But I've got trouble making it work like that.
All i have now is hardcoded 0's, so when it comes to 10 it looks like this:
filename_00010.ext
instead of:
filename_0010.ext
This causes trouble for me after rendering, because 3dsmax
does not see the files as a sequence.
How can one easily add this type of counting to file output in maxscript?
thanks in advance.
