1
Python and Java API / Re: Export Alignement result to another software
« on: June 02, 2017, 01:25:21 PM »
Dear all,
I am trying to get this script to run with version 1.2.5 on MacOSX but have trouble when executing the script and get the following error.
My knowledge of python scripting is fairly limited so any help to get this to run would be really appreciated.
Thanks,
Kurt
I am trying to get this script to run with version 1.2.5 on MacOSX but have trouble when executing the script and get the following error.
Code: [Select]
2017-06-02 12:13:00 File "/Users/kurt/Desktop/ExportPhotoscan_to_MicMac.py", line 77, in <module>
2017-06-02 12:13:00 foc = int(1000*photo1.sensor.focal_length)
2017-06-02 12:13:00 TypeError: unsupported operand type(s) for *: 'int' and 'NoneType'
My knowledge of python scripting is fairly limited so any help to get this to run would be really appreciated.
Thanks,
Kurt