thatoneguy
05-27-2008, 10:06 PM
I would post this on the frantic forums... but they won't let anyone log in.
---
I inserted the following code after deadline logs a tile assembly.
How hard would it be to add a checkbox to the submit to deadline script that would pass along a variable designating whether or not it's supposed to delete all tiles on completion?
if result == 0 do
(
for f in (getfiles ((getfilenamepath outputpath) + "*.*")) do
(
if (matchpattern (filenamefrompath f) pattern:((getfilenamefile rendOutputFilename)+"_TILE_*x*_*x*_"+(getZeros DeadlineUtil.currentFrame)+(getfilenametype rendoutputfilename))) do
(
deletefile f
)
)
)
---
I inserted the following code after deadline logs a tile assembly.
How hard would it be to add a checkbox to the submit to deadline script that would pass along a variable designating whether or not it's supposed to delete all tiles on completion?
if result == 0 do
(
for f in (getfiles ((getfilenamepath outputpath) + "*.*")) do
(
if (matchpattern (filenamefrompath f) pattern:((getfilenamefile rendOutputFilename)+"_TILE_*x*_*x*_"+(getZeros DeadlineUtil.currentFrame)+(getfilenametype rendoutputfilename))) do
(
deletefile f
)
)
)
