import Metashape
import sys, os, time
chunk = Metashape.app.document.chunk
chunk.reduceOverlap(overlap = 5, use_selection = False)
Metashape.Model.clear(chunk.model)
This simple script does not work in batch process run over network, in local batch process it works fine. In 2.0.4 it works on local and network.
Laser and Images.
The import of the lasers, the workflow I imported the laser as listed at
https://agisoft.freshdesk.com/support/solutions/articles/31000168474-terrestrial-laser-scans-processing-in-metashape-2-0- 0, pinned and locked the transformation in group only, aligned the photos. The laser has a precise position, and so do the photos. But before aligning we can see the error of 1.2 cm, and laser marks with 8 pixels with an error of 4 meters. Then I reset the laser alignment and realign. Now the images have an error of up to 5cm and the marks have 0.6pixels but with an error of 4 meters. Solution. It is necessary to deactivate the laser, align images and activate the laser, reset the laser alignment and align. The error now no longer exists, but the initial position of the laser, of course, I lost. Your import has the option to return without importing the laser.
So I worked with isolated processes, laser in one and the other, aligning images, applying laser to the images, merging, now checking the errors in the markers that I exported previously and the error no longer exists. But together it didn't work.
And, please, add option to remove orthophotos without script.