hi and thanks Maxime !
GetAllAssetsNew() is S22 only,
and I had problems with InitRender() and Vray Bitmaps
so I decided to manually check for the files...
I had it already, but GenerateTexturePath() shortens the code quite a bit, because I dont have to check all possible paths.
It seem GenerateTexturePath() returns the absolute path, if the file is found somewhere in the texture paths, otherwise it returns None.
needs some testing, but until now it seems to work well.
best, index