Hi,
I'm trying to run a script in agisoft 1.3.4, that was written for 1.3.0 but keep encountering the error message "Can't Run Script"
My code is below, the script falls over at the .LAS export:
# Export LAS
path = 'D:/LAS/' + fileName + '.las'
chunk.exportPoints(path, binary=True, projection = proj, precision=6, normals=True, colors=True, format='las', classes = [0,2]) (<-- This is line 34 in my code)
and shows this in the console pane:
2018-01-11 11:59:40 Traceback (most recent call last):
2018-01-11 11:59:40 File "D:/PDM_export17.py", line 34, in <module>
2018-01-11 11:59:40 chunk.exportPoints(path, binary=True, projection = proj, precision=6, normals=True, colors=True, format='las', classes = [0,2])
2018-01-11 11:59:40 TypeError: argument 8 must be PhotoScan.PointsFormat, not str
>>>