16 Oct 2019

PerGeos TCL script for processing all files in a folder with a recipe

Process all files in a folder by applying the same recipe to all of them individually.

ApplyRecipeToFolder

This script applies the same recipe to all the data listed in a file folder, and save the recipe result for each of them in a folder called "results".

It can be used as a basis of an automation routine. The recipe can be changed with the port "recipeFileName", and the input file folder can be changed with the port "Data Directory".

The results are saved as Avizo binary files, assuming that the recipe produces a binary output.

Note : multiple outputs are possible, including snapshots, spreadsheets, but are not exposed in the script itself.