Hi,
I have found several resources that tell me how to use the region name/label in the output file name. I want to use the input FILE NAME for the region as the output filename when rendering. How can I access the region's input filename in the script?
As far as I know I need to edit this line:
String regionFilename = String.Format("{0}[{1}]{2}",
filename,
regionIndex.ToString(),
renderItem.Extension);
I think the version below is roughly what I want to do and I'm hoping that somebody can tell me how to get <Input Filename of Region>
String regionFilename = String.Format("{0}{1}",
<Input Filename of Region>,
renderItem.Extension);
I'm a Java programmer for many years, but am not well up on this language. I've looked up the scripting API but can't find the answer there.
Can it be done? Thanks, Brian
I have found several resources that tell me how to use the region name/label in the output file name. I want to use the input FILE NAME for the region as the output filename when rendering. How can I access the region's input filename in the script?
As far as I know I need to edit this line:
String regionFilename = String.Format("{0}[{1}]{2}",
filename,
regionIndex.ToString(),
renderItem.Extension);
I think the version below is roughly what I want to do and I'm hoping that somebody can tell me how to get <Input Filename of Region>
String regionFilename = String.Format("{0}{1}",
<Input Filename of Region>,
renderItem.Extension);
I'm a Java programmer for many years, but am not well up on this language. I've looked up the scripting API but can't find the answer there.
Can it be done? Thanks, Brian