with Python, you can use the os module to list content of a directory
for example if you have a dir with a subfolder for each expression you can use :
import os #import module to work with OS
scanDir = 'D:/tmp'
expressionList = os.listdir(scanDir) #Put subdireectories of D:/tmp in a variable
print expressionList
#Return ['EXPRESSION1', 'EXPRESSION2', 'NEUTRAL']
Then you can use a for loop to process each expression
for expression in expressionList:
#do the wrapX magic
The only problem is that if you want a full automated process to do all of the 5 scans at once, you’ll need to have the registration points saved before as a txt, you can use wrap for that, check commands in the python reference.
For your case with one basemesh and set of scans you can use GenerateConfig_ManyScansOneBasemesh.py script, select scans, then basemesh. It will automatically create directory structure layout like described in the first link. Then you cas use scripts SetControlPoints.py then DoWrapping.py and LineUp.py to see the results.
I’m recording a video with usage example of BatchWizard when you can control all the process per scan, and will post it here in some hours.