Hi,
Can some one tell (or post) the required modification to the Batch rendered sample script that will use the region name in the outputed file name. ie
while (!regions.atEnd()) {
var region = regions.item();
var regionFilename = new StringBuilder(filename);
regionFilename.Append("[");
=====>>>> regionFilename.Append(regionIndex);
regionFilename.Append("]");
// need to strip off the extension's leading "*"
regionFilename.Append(renderer.FileExtension.substring(1));
Instead of regionFilename.Append(regionIndex); above it would be something like:
regionFilename.Append(Regions.currentregion.name); or something. I don't know the object model so I've go no idea what the property name is or how to get to it. Apparently there is a new version of the API summary out (an April 2003 version). Can someone send it to me or tell me where I can find it. and will it help me to be able to figure out the about info in the future.
Thanks
Dave
Can some one tell (or post) the required modification to the Batch rendered sample script that will use the region name in the outputed file name. ie
while (!regions.atEnd()) {
var region = regions.item();
var regionFilename = new StringBuilder(filename);
regionFilename.Append("[");
=====>>>> regionFilename.Append(regionIndex);
regionFilename.Append("]");
// need to strip off the extension's leading "*"
regionFilename.Append(renderer.FileExtension.substring(1));
Instead of regionFilename.Append(regionIndex); above it would be something like:
regionFilename.Append(Regions.currentregion.name); or something. I don't know the object model so I've go no idea what the property name is or how to get to it. Apparently there is a new version of the API summary out (an April 2003 version). Can someone send it to me or tell me where I can find it. and will it help me to be able to figure out the about info in the future.
Thanks
Dave