Problem with Tile File Input node & scripting

Hi,

Here the context: I’m working with large tiled terrain of 16,384km terrain at a resolution of 0,5m/pixel (64x64 tiles) and I often need to use the TileFileInput Node for importing the terrain in WM and doing some filter on it. For production wise I created a simple script for opening the scene, enabling group in order, using specific extent and build tiles.

So what’s the problem ?? So, when I manually open the WM file and open the Tile file Input node I alway put the performance cache tot the maximum and do a ResetCache/preload Cache and after that, the tile build is incredibly fast, but if I don’t do it, the tile build is really slow and I lost a lot of production time. I tried to save the WM with the this current state, but when I reopen the scene, the performance cache slider is back to default value.

So, my main problem is when I run my script, I would like to modify the performance cache value before going into build process but I don’t know at all if it’s possible or not ??

Does someone could help me on this problem ?