At the moment I am loading the reference data manually. I'm setting a chunk active, clicking the reference pane and selecting "import".
The reference file is held in a .txt file in csv format.
I tried a script that looks like it should work. The return value of "loadReference" is true - but the X,Y,Z values of the photos never updates if I checked the reference pane.
The script is simply:
print("Script started")
for i in range(len(doc.chunks)-1):
chunk = doc.chunks
checkloaded = chunk.loadReference("path.txt",'csv')
PhotoScan.app.update()
print(i, checkloaded)
print("Photos imported")
Anyone see where I am going wrong?