Hi friends.
I just keep getting this error when I try to loadReference, using a csv file, which works fine if loaded manually in the GUI...
My python script:
csvFilePath = "C:/temp/CamData.csv"
chunk.loadReference(path='csvFilePath', format='csv', columns='nxzyXZY', delimiter=',')
Error in Agi:
Traceback (most recent call last): File "C:/temp/tempScript.py", line 2, in <module>
PhotoScan.app.document.chunk.loadReference('csvFilePath','csv','nxzyXZY',',')
TypeError: argument 2 must be TiffCompressionDeflate, not str
TiffCompressionDeflate!? I don't get it. On Version 1.3.0, Build 3772, 64-bit
Thank you! (sorry about formatting, the web markup tools aren't doing anything for me, I tried to wrap lines as #code)