How to automatize texture mapping using state files or python state files in ParaView though.

I have several vtk files with texture coordinates already written and corresponding texture images, how do I automatize texture mapping using state files or python state files in ParaView though.

Using the python trace makes it quite easy:

# a texture
mblogo_64_with_croc = CreateTexture('/path/to/image.png')

# change texture
myDisplay.Texture = mblogo_64_with_croc

hth,