When using the importPoints method in a script to import multiple .LAZ files it imports the files one by one but always replacing the previous one leaving only the last one.
How can I avoid this and then combine all the files?
this is my code...
import Metashape
from os import listdir
print('starting...')
path = 'the path'
files = listdir(path)
for i in files:
print(i,end="\r")
if i[-4:len(i)] == '.laz':
print('importando... {}'.format(i), end="\r")
path2 = path+'/'+i
Metashape.app.document.chunk.importPoints(path2)