3
« on: April 10, 2020, 10:09:12 PM »
Alexey,
I've run the two scripts you referenced. The gradual selection script runs smoothly and I'm looking to modify it to my needs. The selection by percentage script, cut and pasted from the post, produces the error below. What am I missing ?
2020-04-10 13:49:14 Analyzing point cloud...
2020-04-10 13:49:15 Finished processing in 0.25 sec (exit code 1)
2020-04-10 13:49:15 Traceback (most recent call last):
2020-04-10 13:49:15 File "F:/Documents/Photogammetry/Python Scripts/selectfixedpercentageofpoints.py", line 21, in <module>
2020-04-10 13:49:15 for i in range(list_values):
2020-04-10 13:49:15 TypeError: 'list' object cannot be interpreted as an integer
2020-04-10 13:49:15 Error: 'list' object cannot be interpreted as an integer
Also,
What is the correct syntax for including the camera optimization after, or in, the "for chunk in Metashape" statements. I've tried several different placements and only generate errors. Sucks being a noob
Thanks for your help
>>>