Accessing Uvarray

HI,

i ran into some problems accessing the AVArray of a triangle from script. if have this small python script:

If i run this script within XSI i get the proper list of UV coords, if i run the script using XSIBatch.bat (XSIBatch.bat -script test.py) i only get a list of 0.0 / 0.0 values.

I tried the VBScript version with no success, too.

Any ideas?