hi,
I tried it out, but somehow it gives me the current time of the timeline, not the current time while rendering a frame in batch render mode.
for example, let's say I want to write a little test-file for each frame that gets rendered, to dump some extra info into, as such:
////////////////////////////////////////
$frame = currentTime -q;
string $filename = "P:/temp/MayaFrames/files/test_" + $frame + ".txt";
print($filename);
int $file = fopen $filename "w";
fprint $file ("This is a test for frame " + $frame);
fclose $file;
////////////////////////////////////////
Ideally, when rendering in batch mode, this would produce as many test files as there are frames rendered... bit it doesn't work out as expected...
Any ideas?
kind regards,
loki